Move InputManager to a higher and more implicit level.

Also makes KeyCounterCollection work with replays.
This commit is contained in:
Dean Herbert
2017-03-07 19:30:39 +09:00
parent 1fb846e61d
commit 02cab41d34
12 changed files with 84 additions and 53 deletions

View File

@ -62,8 +62,7 @@ namespace osu.Game.Modes.Osu.UI
protected override void LoadComplete()
{
base.LoadComplete();
if (InputManager?.ReplayInputHandler != null)
Add(new OsuCursorContainer { Colour = Color4.LightYellow });
AddInternal(new OsuCursorContainer { Colour = Color4.LightYellow });
}
public override void Add(DrawableHitObject<OsuHitObject> h)