rename state machine in script
This commit is contained in:
parent
da0b1bcff4
commit
cb326a5c94
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ const DEADZONE = 0.1
|
|||
@export var max_speed: float = 300.0
|
||||
|
||||
@onready var sprite: AnimatedSprite2D = $AnimatedSprite2D
|
||||
@onready var state_machine: StateMachine = $StateMachine
|
||||
@onready var state_machine: StateMachine = $PlayerStateMachine
|
||||
|
||||
var h_press_tick: int = 0 ## last time horizontal axis was pressed
|
||||
var v_press_tick: int = 0 ## last time vertical axis was pressed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue