Beispiel #1
0
 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)
     };
 }
Beispiel #2
0
 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));
 }
Beispiel #3
0
 public override void SetUpSteps()
 {
     base.SetUpSteps();
     AddStep("get playfield", () => playfield = Editor.ChildrenOfType <OsuPlayfield>().First());
 }