forked from team-sg/hero-mark-2
more state chart updatres :/
This commit is contained in:
parent
02b85c7dd2
commit
32131e7e17
3 changed files with 22 additions and 9 deletions
|
@ -84,7 +84,7 @@ func _process(delta: float) -> void:
|
|||
return
|
||||
|
||||
# emit processing signal
|
||||
emit_signal("state_processing")
|
||||
emit_signal("state_processing", delta)
|
||||
|
||||
# process transitions if mode is IDLE
|
||||
if transition_process_mode == ProcessMode.IDLE:
|
||||
|
@ -95,7 +95,7 @@ func _physics_process(delta: float) -> void:
|
|||
return
|
||||
|
||||
# emit physics processing signal
|
||||
emit_signal("state_processing")
|
||||
emit_signal("state_physics_processing", delta)
|
||||
|
||||
# process transitions if mode is PHYSICS
|
||||
if transition_process_mode == ProcessMode.PHYSICS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue