Move HasPassed/HasFailed into GameplayState

This commit is contained in:
Dan Balasescu
2022-01-26 01:45:11 +09:00
parent 502e6af008
commit 781cb9f18d
10 changed files with 30 additions and 27 deletions

View File

@ -209,7 +209,7 @@ namespace osu.Game.Tests.Visual.Navigation
return (player = Game.ScreenStack.CurrentScreen as Player) != null;
});
AddUntilStep("wait for fail", () => player.HasFailed);
AddUntilStep("wait for fail", () => player.GameplayState.HasFailed);
AddUntilStep("wait for track stop", () => !Game.MusicController.IsPlaying);
AddAssert("Ensure time before preview point", () => Game.MusicController.CurrentTrack.CurrentTime < beatmap().BeatmapInfo.Metadata.PreviewTime);