mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Add KeyCounter to Player for fun.
This commit is contained in:
@ -16,7 +16,15 @@ namespace osu.Game.Graphics.UserInterface
|
||||
}
|
||||
|
||||
private List<KeyCounter> counters = new List<KeyCounter>();
|
||||
public IReadOnlyList<KeyCounter> Counters => counters;
|
||||
public IEnumerable<KeyCounter> Counters
|
||||
{
|
||||
get { return counters; }
|
||||
set
|
||||
{
|
||||
foreach (var k in value)
|
||||
AddKey(k);
|
||||
}
|
||||
}
|
||||
|
||||
public void AddKey(KeyCounter key)
|
||||
{
|
||||
|
Reference in New Issue
Block a user