2017-08-09 10:50:34 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-08-10 16:14:30 +08:00
|
|
|
|
using System.ComponentModel;
|
2017-08-11 15:11:46 +08:00
|
|
|
|
using osu.Framework.Input.Bindings;
|
2017-08-21 11:31:21 +08:00
|
|
|
|
using osu.Game.Rulesets.UI;
|
2017-08-09 10:50:34 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch
|
|
|
|
|
{
|
2017-08-21 11:31:21 +08:00
|
|
|
|
public class CatchInputManager : RulesetInputManager<CatchAction>
|
2017-08-09 10:50:34 +08:00
|
|
|
|
{
|
2017-08-13 09:36:57 +08:00
|
|
|
|
public CatchInputManager(RulesetInfo ruleset)
|
2017-08-17 16:47:44 +08:00
|
|
|
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
2017-08-09 10:50:34 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum CatchAction
|
|
|
|
|
{
|
2017-08-10 16:14:30 +08:00
|
|
|
|
[Description("Move left")]
|
2017-08-09 10:50:34 +08:00
|
|
|
|
MoveLeft,
|
2017-08-10 16:14:30 +08:00
|
|
|
|
[Description("Move right")]
|
2017-08-09 10:50:34 +08:00
|
|
|
|
MoveRight,
|
2017-08-10 16:14:30 +08:00
|
|
|
|
[Description("Engage dash")]
|
2017-08-09 10:50:34 +08:00
|
|
|
|
Dash
|
|
|
|
|
}
|
|
|
|
|
}
|