Implement KeyCounter and base Count class.

This commit is contained in:
Huo Yaoyuan
2016-09-23 18:29:25 +08:00
parent 8a168f2d29
commit 55a1a3827a
3 changed files with 93 additions and 0 deletions

View 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);
}
}