2024-09-24 11:59:54 +08:00
|
|
|
extends State
|
2024-09-25 18:04:02 +08:00
|
|
|
var target
|
|
|
|
func enter_state(n):
|
|
|
|
target=n
|
|
|
|
get_player().exe()
|
|
|
|
func update_state(delta):
|
|
|
|
|
|
|
|
|
|
|
|
pass
|
|
|
|
func update_state_phy(delta):
|
|
|
|
pass
|
|
|
|
func exit_state():
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
func time_out():
|
|
|
|
pass
|
|
|
|
func process_message(type:String,n):
|
|
|
|
match type:
|
|
|
|
"move_finished":
|
|
|
|
change_to_state("idle")
|
|
|
|
return
|
|
|
|
pass
|