state machine shouldnt be abstract (whoops)

This commit is contained in:
yuki 2025-11-14 16:19:46 -03:00
parent 37d5fa981d
commit cd9e52cf9b

View file

@ -1,6 +1,6 @@
## Virtual base class for all nodes that deal directly with states. ## Virtual base class for all nodes that deal directly with states.
## Extend this class and override its methods to implement a state machine. ## Extend this class and override its methods to implement a state machine.
@abstract class_name StateMachine extends Node class_name StateMachine extends Node
## The initial state of the state machine. If not set, the first child node is used. ## The initial state of the state machine. If not set, the first child node is used.
@export var initial_state: State @export var initial_state: State