mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Rename counter classes to avoid confusing.
This commit is contained in:
26
osu.Game/Graphics/UserInterface/KeyCounterCollection.cs
Normal file
26
osu.Game/Graphics/UserInterface/KeyCounterCollection.cs
Normal file
@ -0,0 +1,26 @@
|
||||
//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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user