Added cultist state and state machine
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class_name CultistStateMachine
|
||||
extends StateMachine
|
||||
|
||||
|
||||
@export var cultist: AbstractCultist
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
if not cultist.is_node_ready():
|
||||
await cultist.ready
|
||||
|
||||
super._ready()
|
||||
|
||||
Reference in New Issue
Block a user