Removing a lot of logging
This commit is contained in:
parent
e88b2248b3
commit
07b63a8426
15 changed files with 9 additions and 67 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue