challenge-editor/scene/card_state_machine/idle.gd
2024-09-24 17:26:44 +08:00

24 lines
430 B
GDScript

extends State
func enter_state(n):
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":
change_to_state("focus")
"resize":
var player:Card=get_player() as Card
var target_position=player.get_self_index_position()
player.move_to(player.position,target_position)
pass
pass