mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 19:52:58 +08:00
Remove unused methods.
This commit is contained in:
parent
cd1717c42f
commit
122792eb93
@ -7,7 +7,6 @@ using osu.Framework.Graphics;
|
|||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Game.Configuration;
|
using osu.Game.Configuration;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Modes.Objects;
|
|
||||||
using osu.Game.Screens.Play;
|
using osu.Game.Screens.Play;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -30,23 +29,6 @@ namespace osu.Game.Modes.UI
|
|||||||
protected abstract ScoreCounter CreateScoreCounter();
|
protected abstract ScoreCounter CreateScoreCounter();
|
||||||
protected abstract HealthDisplay CreateHealthDisplay();
|
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)
|
protected HudOverlay(Ruleset ruleset)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
Loading…
Reference in New Issue
Block a user