mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Add ResetCount method for Counter.
This commit is contained in:
@ -28,6 +28,12 @@ namespace osu.Game.Graphics.UserInterface
|
||||
base.Add(key);
|
||||
}
|
||||
|
||||
public void ResetCount()
|
||||
{
|
||||
foreach (var counter in counters)
|
||||
counter.ResetCount();
|
||||
}
|
||||
|
||||
public override bool Contains(Vector2 screenSpacePos) => true;
|
||||
|
||||
//further: change default values here and in KeyCounter if needed, instead of passing them in every constructor
|
||||
|
Reference in New Issue
Block a user