Allow OsuScreens to decide whether ruleset switching should be allowed.

Tidies up ToolbarModeSelector a lot by using DI.
This commit is contained in:
Dean Herbert
2017-04-21 16:03:59 +09:00
parent 4a3ae6937d
commit 5aa90df819
7 changed files with 41 additions and 28 deletions

View File

@ -39,6 +39,8 @@ namespace osu.Game.Screens.Play
public bool IsPaused => !interpolatedSourceClock.IsRunning;
internal override bool AllowRulesetChange => false;
public bool HasFailed { get; private set; }
public int RestartCount;