refactored player input handling
This commit is contained in:
parent
2088037606
commit
761389116a
9 changed files with 216 additions and 235 deletions
12
src/ActionName.cs
Normal file
12
src/ActionName.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace Dancer;
|
||||
|
||||
public static class ActionName
|
||||
{
|
||||
public static readonly StringName MoveLeft = "move_left";
|
||||
public static readonly StringName MoveRight = "move_right";
|
||||
public static readonly StringName MoveUp = "move_up";
|
||||
public static readonly StringName MoveDown = "move_down";
|
||||
public static readonly StringName Jump = "jump";
|
||||
public static readonly StringName Attack = "attack";
|
||||
public static readonly StringName Dash = "dash";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue