class_name State extends Node var state_machine = null func handle_input(_event: InputEvent): pass func update(_delta: float): pass func physics_update(_delta: float): pass func enter(_msg: Dictionary = {}): pass func exit(): pass