remove unused next state vaiable
This commit is contained in:
parent
7b7334990b
commit
a446efbac0
2 changed files with 0 additions and 6 deletions
|
|
@ -1,9 +1,6 @@
|
|||
extends PlayerState
|
||||
|
||||
|
||||
var next_state: StringName
|
||||
|
||||
|
||||
func _enter(_previous_state_path: String, _data: Dictionary[StringName, Variant] = {}) -> void:
|
||||
print('entering idle')
|
||||
player.velocity = Vector2.ZERO
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
extends PlayerState
|
||||
|
||||
|
||||
var next_state: StringName
|
||||
|
||||
|
||||
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
|
||||
print("entering walking")
|
||||
player.move_and_slide()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue