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