2020-10-15 16:48:50 +08:00
|
|
|
// 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.Game.Skinning;
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Play.HUD
|
|
|
|
{
|
2021-05-07 15:26:54 +08:00
|
|
|
public class SkinnableAccuracyCounter : SkinnableDrawable
|
2020-10-15 16:48:50 +08:00
|
|
|
{
|
|
|
|
public Bindable<double> Current { get; } = new Bindable<double>();
|
|
|
|
|
|
|
|
public SkinnableAccuracyCounter()
|
|
|
|
: base(new HUDSkinComponent(HUDSkinComponents.AccuracyCounter), _ => new DefaultAccuracyCounter())
|
|
|
|
{
|
|
|
|
CentreComponent = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|