public void SetUp() { track = new TrackVirtual(20_000); // define a fake playfield to re-calculate the current rate by ModTimeRamp.Update(Playfield). playfield = new OsuPlayfield { Clock = new FramedClock(track) }; }
public override void SetUpSteps() { base.SetUpSteps(); AddStep("get playfield", () => playfield = Editor.ChildrenOfType <OsuPlayfield>().First()); AddStep("seek to first timing point", () => EditorClock.Seek(Beatmap.Value.Beatmap.ControlPointInfo.TimingPoints.First().Time)); }
public override void SetUpSteps() { base.SetUpSteps(); AddStep("get playfield", () => playfield = Editor.ChildrenOfType <OsuPlayfield>().First()); }