1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 21:03:08 +08:00

Remove unused methods.

This commit is contained in:
smoogipooo 2017-03-10 13:37:48 +09:00
parent cd1717c42f
commit 122792eb93

View File

@ -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;