refactored player input handling

This commit is contained in:
Lilith Schier 2026-07-16 19:08:43 +02:00
parent 2088037606
commit 761389116a
9 changed files with 216 additions and 235 deletions

12
src/ActionName.cs Normal file
View 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";
}