Removing a lot of logging

This commit is contained in:
Dan Baker 2024-05-05 18:08:50 +01:00
parent e88b2248b3
commit 07b63a8426
15 changed files with 9 additions and 67 deletions

View file

@ -10,14 +10,11 @@ var current_state : State
# everything that uses a state machine!
func _ready():
Log.pr("FSM Ready")
for child in get_children():
if child is State:
states[child.name.to_lower()] = child
child.state_transition.connect(change_state)
Log.pr(states)
if initial_state:
initial_state.enter()
current_state = initial_state