Split PlayerInputManager into two classes, allowing more precise handling of input (for KeyCounter).

This commit is contained in:
Dean Herbert
2017-03-14 16:00:35 +09:00
parent 0da950beac
commit 1f68731a09
7 changed files with 85 additions and 46 deletions

View File

@ -7,6 +7,7 @@ using osu.Game.Modes.Osu.Beatmaps;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Osu.Objects.Drawables;
using osu.Game.Modes.UI;
using osu.Game.Screens.Play;
namespace osu.Game.Modes.Osu.UI
{
@ -21,6 +22,8 @@ namespace osu.Game.Modes.Osu.UI
protected override Playfield<OsuHitObject> CreatePlayfield() => new OsuPlayfield();
protected override KeyConversionInputManager CreateKeyConversionInputManager() => new OsuKeyConversionInputManager();
protected override DrawableHitObject<OsuHitObject> GetVisualRepresentation(OsuHitObject h)
{
var circle = h as HitCircle;