ActionManagerο
Inherits: Node2D
Manages the playerβs action queue and executes them sequentially in _physics_process().
Translates input into queued Action instances:
At turn start the queue is cleared via GameManager.StartTurn.
Note: Monsters use the Behavior Tree system, not this class.
Propertiesο
|
|
|
|
|
|
|
|
Array[Action] |
|
Property Descriptionsο
Player own π
The player entity this manager controls.
Stats stats π
Reference to the playerβs stats (used for move point deduction).
Sprite2DTween animations π
Animation controller for walk, idle, and attack tweens.
Line2D path_vfx π
Path preview Line2D drawn on mouse hover showing the walkable route.
Array[Action] actions_queue π
FIFO queue of pending actions awaiting execution.
The action currently being executed each physics frame.