state machine shouldnt be abstract (whoops)
This commit is contained in:
parent
37d5fa981d
commit
cd9e52cf9b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue