Added other player states

This commit is contained in:
2026-02-02 22:04:54 +03:00
parent 81d81ae103
commit 63710b691b
26 changed files with 396 additions and 151 deletions
+3
View File
@@ -25,6 +25,9 @@ func _physics_process(delta: float) -> void:
func _change_state(new_state: AbstractState) -> void:
if new_state == null: return
if new_state == current_state: return
if current_state:
current_state.exit()
current_state = new_state