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

Player

own

Stats

stats

Sprite2DTween

animations

Line2D

path_vfx

Array[Action]

actions_queue

Action

current_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.


Action current_action πŸ”—

The action currently being executed each physics frame.