mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 12:00:22 +08:00
35 lines
918 B
C#
35 lines
918 B
C#
using osu.Framework.Input.Bindings;
|
|
using osu.Game.Rulesets.UI;
|
|
using System.ComponentModel;
|
|
|
|
namespace osu.Game.Rulesets.Shape
|
|
{
|
|
class ShapeInputManager : RulesetInputManager<ShapeAction>
|
|
{
|
|
public ShapeInputManager(RulesetInfo ruleset) : base(ruleset, 0, SimultaneousBindingMode.Unique)
|
|
{
|
|
}
|
|
}
|
|
|
|
public enum ShapeAction
|
|
{
|
|
//Movement
|
|
[Description("West Left")]
|
|
WestLeftButton,
|
|
[Description("West Right")]
|
|
WestRightButton,
|
|
[Description("East Left")]
|
|
EastLeftButton,
|
|
[Description("East Right")]
|
|
EastRightButton,
|
|
[Description("North Left")]
|
|
NorthLeftButton,
|
|
[Description("North Right")]
|
|
NorthRightButton,
|
|
[Description("South Left")]
|
|
SouthLeftButton,
|
|
[Description("South Right")]
|
|
SouthRightButton,
|
|
}
|
|
}
|