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

@ -8,7 +8,6 @@ using osu.Game.Modes.Objects;
using osu.Game.Modes.Osu.UI;
using osu.Game.Modes.UI;
using osu.Game.Beatmaps;
using osu.Game.Screens.Play;
namespace osu.Game.Modes.Catch
{
@ -16,10 +15,9 @@ namespace osu.Game.Modes.Catch
{
public override ScoreOverlay CreateScoreOverlay() => new OsuScoreOverlay();
public override HitRenderer CreateHitRendererWith(Beatmap beatmap, PlayerInputManager input = null) => new CatchHitRenderer
public override HitRenderer CreateHitRendererWith(Beatmap beatmap) => new CatchHitRenderer
{
Beatmap = beatmap,
InputManager = input,
};
public override IEnumerable<Mod> GetModsFor(ModType type)