Required changes for framework merge (https://github.com/ppy/osu-framework/pull/554).

This commit is contained in:
Dean Herbert
2017-03-06 22:08:02 +09:00
parent dcc7386609
commit 57cbecba83
2 changed files with 1 additions and 7 deletions

View File

@ -148,7 +148,7 @@ namespace osu.Game.Screens.Play
Children = new Drawable[] Children = new Drawable[]
{ {
playerInputManager = new PlayerInputManager(game.Host) playerInputManager = new PlayerInputManager
{ {
Clock = new InterpolatingFramedClock(sourceClock), Clock = new InterpolatingFramedClock(sourceClock),
Children = new Drawable[] Children = new Drawable[]

View File

@ -5,7 +5,6 @@ using OpenTK.Input;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Configuration; using osu.Framework.Configuration;
using osu.Framework.Input; using osu.Framework.Input;
using osu.Framework.Platform;
using osu.Game.Configuration; using osu.Game.Configuration;
using System.Linq; using System.Linq;
@ -13,11 +12,6 @@ namespace osu.Game.Screens.Play
{ {
class PlayerInputManager : UserInputManager class PlayerInputManager : UserInputManager
{ {
public PlayerInputManager(GameHost host)
: base(host)
{
}
bool leftViaKeyboard; bool leftViaKeyboard;
bool rightViaKeyboard; bool rightViaKeyboard;
Bindable<bool> mouseDisabled; Bindable<bool> mouseDisabled;