This commit is contained in:
2026-03-13 22:00:02 -05:00
parent 90241d6830
commit 6738e8d217
676 changed files with 15819 additions and 78 deletions

View File

@@ -0,0 +1,10 @@
extends Node
@export var state_machine: PlayerStateMachine
# Public Methods
func OnMovementInput(_movement_vector: Vector2) -> void:
var current_state := state_machine.GetCurrentStateEnum()
if current_state == PlayerStateMachine.States.IDLE:
var idle_state := state_machine.current_state as PlayerIdleState
idle_state.QueueMovement()