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