extends Node class_name InputPacket ## The base class for holding all meaningful inputs ## ## Returned by an InputHandler upon request. Contains a snapshot of the input state. ## ## The XY direction the player has indicated var player_movement_direction: Vector2 = Vector2.ZERO ## PlayerModel State names that are based on raw input var player_actions: Array[String] = [] ## Combat actions that are translated by the weapons layer var player_combat_actions: Array[String] = [] ## What input method the camera was using at time of capture var camera_input_method := CameraInput.MOUSE ## What XY input direction the camera was using at time of capture var camera_input_direction := Vector2.ZERO