From 122792eb939481978bf255821a9b8579e8f994d5 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Fri, 10 Mar 2017 13:37:48 +0900 Subject: [PATCH] Remove unused methods. --- osu.Game/Modes/UI/HUDOverlay.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/osu.Game/Modes/UI/HUDOverlay.cs b/osu.Game/Modes/UI/HUDOverlay.cs index 0f6db35d2b..1cf1e47bc5 100644 --- a/osu.Game/Modes/UI/HUDOverlay.cs +++ b/osu.Game/Modes/UI/HUDOverlay.cs @@ -7,7 +7,6 @@ using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Configuration; using osu.Game.Graphics.UserInterface; -using osu.Game.Modes.Objects; using osu.Game.Screens.Play; using System; using System.Collections.Generic; @@ -30,23 +29,6 @@ namespace osu.Game.Modes.UI protected abstract ScoreCounter CreateScoreCounter(); protected abstract HealthDisplay CreateHealthDisplay(); - public virtual void OnHit(HitObject h) - { - ComboCounter?.Increment(); - ScoreCounter?.Increment(300); - - if (AccuracyCounter != null) - AccuracyCounter.Current.Value = Math.Min(1, AccuracyCounter.Current + 0.01f); - } - - public virtual void OnMiss(HitObject h) - { - ComboCounter?.Roll(); - - if (AccuracyCounter != null) - AccuracyCounter.Current.Value = AccuracyCounter.Current - 0.01f; - } - protected HudOverlay(Ruleset ruleset) { RelativeSizeAxes = Axes.Both;