private ScrollingTestContainer createStage(ScrollingDirection direction, CrossAction action) { var specialAction = CrossAction.Special1; var stage = new CrossStage(0, new StageDefinition { Columns = 2 }, ref action, ref specialAction); stages.Add(stage); return(new ScrollingTestContainer(direction) { Anchor = Anchor.Centre, Origin = Anchor.Centre, RelativeSizeAxes = Axes.Y, AutoSizeAxes = Axes.X, TimeRange = 2000, Child = stage }); }
private bool notesInStageAreAnchored(CrossStage stage, Anchor anchor) => stage.Columns.SelectMany(c => c.AllHitObjects).All(o => o.Anchor == anchor);