2019-01-24 08:43:03 +00:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
|
|
|
|
using System.ComponentModel;
|
2022-08-13 10:02:29 +00:00
|
|
|
|
using osu.Framework.Allocation;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
using osu.Framework.Input.Bindings;
|
|
|
|
|
using osu.Game.Rulesets.UI;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch
|
|
|
|
|
{
|
2022-08-13 10:02:29 +00:00
|
|
|
|
[Cached]
|
2022-11-24 05:32:20 +00:00
|
|
|
|
public partial class CatchInputManager : RulesetInputManager<CatchAction>
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
|
|
|
|
public CatchInputManager(RulesetInfo ruleset)
|
|
|
|
|
: base(ruleset, 0, SimultaneousBindingMode.Unique)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum CatchAction
|
|
|
|
|
{
|
|
|
|
|
[Description("Move left")]
|
|
|
|
|
MoveLeft,
|
2019-02-28 04:31:40 +00:00
|
|
|
|
|
2018-04-13 09:19:50 +00:00
|
|
|
|
[Description("Move right")]
|
|
|
|
|
MoveRight,
|
2019-02-28 04:31:40 +00:00
|
|
|
|
|
2018-04-13 09:19:50 +00:00
|
|
|
|
[Description("Engage dash")]
|
|
|
|
|
Dash,
|
|
|
|
|
}
|
|
|
|
|
}
|