More general refactorings.

This commit is contained in:
smoogipooo
2017-03-10 14:42:14 +09:00
parent 5f440d0b53
commit 58a88cc715
11 changed files with 235 additions and 28 deletions

View File

@ -113,12 +113,16 @@ namespace osu.Game.Modes.Osu
protected override PlayMode PlayMode => PlayMode.Osu;
public override string Description => "osu!";
public override KeyCounter[] CreateGameplayKeys => new KeyCounter[]
public override IEnumerable<KeyCounter> CreateGameplayKeys()
{
new KeyCounterKeyboard(Key.Z),
new KeyCounterKeyboard(Key.X),
new KeyCounterMouse(MouseButton.Left),
new KeyCounterMouse(MouseButton.Right)
};
return new KeyCounter[]
{
new KeyCounterKeyboard(Key.Z),
new KeyCounterKeyboard(Key.X),
new KeyCounterMouse(MouseButton.Left),
new KeyCounterMouse(MouseButton.Right)
};
}
}
}