challenge-editor/scene/card_state_machine/queue.gd
2024-09-25 23:56:53 +08:00

26 lines
424 B
GDScript

extends State
func enter_state(n):
var player:Card=get_player()
player.move_to(player.position,player.get_queue_position())
player.target=n
player.queue.emit()
pass
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:
"mouse_enter":
get_player().up()
"mouse_exit":
get_player().down()
pass