extends Node class_name Move ### # flags and variables here var player: Player var camera: Camera3D # enums are prioritized by order of list static var moves_priority: Dictionary = { "idle": 0, "walk": 1, "dash": 2 } static func moves_priority_sort(a: String, b: String): return moves_priority[a] > moves_priority[b] ### func should_enter(_input: InputPacket) -> String: print_debug("Function should_enter must be implemented in its child class!") return "" func update(_input: InputPacket, _delta: float): pass func on_enter_state(): pass func on_exit_state(): pass