From 2821451d5ba646b9486838593b26105a2f03213e Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 8 Mar 2017 16:01:54 +0900 Subject: [PATCH] Remove unused file. --- osu.Game/Graphics/Components/FpsDisplay.cs | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 osu.Game/Graphics/Components/FpsDisplay.cs diff --git a/osu.Game/Graphics/Components/FpsDisplay.cs b/osu.Game/Graphics/Components/FpsDisplay.cs deleted file mode 100644 index c2e5d75059..0000000000 --- a/osu.Game/Graphics/Components/FpsDisplay.cs +++ /dev/null @@ -1,28 +0,0 @@ -//Copyright (c) 2007-2016 ppy Pty Ltd . -//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE - -using osu.Framework.Graphics.Containers; -using osu.Framework.Graphics.Sprites; -using osu.Game.Graphics.Containers; - -namespace osu.Game.Graphics.Components -{ - class FpsDisplay : OsuComponent - { - SpriteText fpsText; - public override void Load() - { - base.Load(); - - Add(fpsText = new SpriteText()); - - fpsText.Text = "..."; - } - - protected override void Update() - { - fpsText.Text = ((int)(1000 / Clock.ElapsedFrameTime)).ToString(); - base.Update(); - } - } -}