1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Remove no-longer-used interface

This commit is contained in:
Dean Herbert 2021-05-06 15:17:53 +09:00
parent ca4b860920
commit ee23124bb1
3 changed files with 2 additions and 21 deletions

View File

@ -12,7 +12,7 @@ using osuTK;
namespace osu.Game.Screens.Play.HUD
{
public class DefaultComboCounter : RollingCounter<int>, IComboCounter
public class DefaultComboCounter : RollingCounter<int>
{
private readonly Vector2 offset = new Vector2(20, 5);

View File

@ -1,19 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Screens.Play.HUD
{
/// <summary>
/// An interface providing a set of methods to update a combo counter.
/// </summary>
public interface IComboCounter : IDrawable
{
/// <summary>
/// The current combo to be displayed.
/// </summary>
Bindable<int> Current { get; }
}
}

View File

@ -15,7 +15,7 @@ namespace osu.Game.Screens.Play.HUD
/// <summary>
/// Uses the 'x' symbol and has a pop-out effect while rolling over.
/// </summary>
public class LegacyComboCounter : CompositeDrawable, IComboCounter
public class LegacyComboCounter : CompositeDrawable
{
public Bindable<int> Current { get; } = new BindableInt { MinValue = 0, };