Fix some formatting issues

This commit is contained in:
Dean Herbert
2017-08-13 10:36:57 +09:00
parent b822c7dd3e
commit fe2911f165
3 changed files with 10 additions and 9 deletions

View File

@ -11,18 +11,19 @@ namespace osu.Game.Rulesets.Catch
{
public class CatchInputManager : DatabasedKeyBindingInputManager<CatchAction>
{
public CatchInputManager(RulesetInfo ruleset) : base(ruleset, simultaneousMode: SimultaneousBindingMode.Unique)
public CatchInputManager(RulesetInfo ruleset)
: base(ruleset, simultaneousMode: SimultaneousBindingMode.Unique)
{
}
protected override IEnumerable<KeyBinding> CreateDefaultMappings() => new[]
{
new KeyBinding( Key.Z, CatchAction.MoveLeft),
new KeyBinding( Key.Left, CatchAction.MoveLeft),
new KeyBinding( Key.X, CatchAction.MoveRight),
new KeyBinding( Key.Right, CatchAction.MoveRight),
new KeyBinding( Key.LShift, CatchAction.Dash),
new KeyBinding( Key.RShift, CatchAction.Dash),
new KeyBinding(Key.Z, CatchAction.MoveLeft),
new KeyBinding(Key.Left, CatchAction.MoveLeft),
new KeyBinding(Key.X, CatchAction.MoveRight),
new KeyBinding(Key.Right, CatchAction.MoveRight),
new KeyBinding(Key.LShift, CatchAction.Dash),
new KeyBinding(Key.RShift, CatchAction.Dash),
};
}