Add initial beat snap grid implementation

This commit is contained in:
smoogipoo
2020-05-14 19:17:24 +09:00
parent 0ef3bae26a
commit 16585f767e
3 changed files with 308 additions and 0 deletions

View File

@ -18,6 +18,8 @@ namespace osu.Game.Rulesets.Mania.UI
[Cached]
public class ManiaPlayfield : ScrollingPlayfield
{
public IReadOnlyList<Stage> Stages => stages;
private readonly List<Stage> stages = new List<Stage>();
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => stages.Any(s => s.ReceivePositionalInputAt(screenSpacePos));