Added state component

This commit is contained in:
2024-02-15 13:45:17 +01:00
parent 17a507d07c
commit 37ed8890ec
19 changed files with 172 additions and 86 deletions

View File

@ -26,9 +26,6 @@ func _unhandled_input(event):
if event.is_action_pressed("jump") && movement && movement.can_jump():
player.jump()
if event.is_action_pressed("dash"):
player.dash()
for i in range(4):
if event.is_action_pressed("skill_%d" % (i + 1)):