mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Implement KeyCounter and base Count class.
This commit is contained in:
17
osu.Game/Graphics/UserInterface/KeyCounter.cs
Normal file
17
osu.Game/Graphics/UserInterface/KeyCounter.cs
Normal file
@ -0,0 +1,17 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
class KeyCounter : FlowContainer
|
||||
{
|
||||
public KeyCounter()
|
||||
{
|
||||
Direction = FlowDirection.HorizontalOnly;
|
||||
}
|
||||
|
||||
public void AddKey(Count key) => base.Add(key);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user