mirror of
https://github.com/ppy/osu.git
synced 2025-01-09 14:53:00 +08:00
20 lines
607 B
C#
20 lines
607 B
C#
// 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
|
|
{
|
|
public class SkinnableAccuracyCounter : SkinnableDrawable
|
|
{
|
|
public Bindable<double> Current { get; } = new Bindable<double>();
|
|
|
|
public SkinnableAccuracyCounter()
|
|
: base(new HUDSkinComponent(HUDSkinComponents.AccuracyCounter), _ => new DefaultAccuracyCounter())
|
|
{
|
|
CentreComponent = false;
|
|
}
|
|
}
|
|
}
|