mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
27 lines
705 B
C#
27 lines
705 B
C#
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|||
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|||
|
|
|||
|
using OpenTK;
|
|||
|
using osu.Framework.Graphics.Containers;
|
|||
|
|
|||
|
namespace osu.Game.Graphics.UserInterface
|
|||
|
{
|
|||
|
public class KeyCounterCollection : FlowContainer
|
|||
|
{
|
|||
|
public KeyCounterCollection()
|
|||
|
{
|
|||
|
Direction = FlowDirection.HorizontalOnly;
|
|||
|
}
|
|||
|
|
|||
|
public void AddKey(KeyCounter key)
|
|||
|
{
|
|||
|
key.ParentCounter = this;
|
|||
|
base.Add(key);
|
|||
|
}
|
|||
|
|
|||
|
public override bool Contains(Vector2 screenSpacePos) => true;
|
|||
|
|
|||
|
public bool IsCounting { get; set; }
|
|||
|
}
|
|||
|
}
|