Update AccuracyCounter components to use DI to attach data source

This commit is contained in:
Dean Herbert
2021-05-07 16:26:54 +09:00
parent ee23124bb1
commit ad398165a2
6 changed files with 29 additions and 52 deletions

View File

@ -4,12 +4,11 @@
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
using osuTK;
namespace osu.Game.Screens.Play.HUD
{
public class DefaultAccuracyCounter : PercentageCounter, IAccuracyCounter
public class DefaultAccuracyCounter : GameplayAccuracyCounter
{
private readonly Vector2 offset = new Vector2(-20, 5);