Animation defenition moved to player_sprite.gd
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
extends PlayerState
|
||||
|
||||
|
||||
const ANIMATION_JUMP_RIGHT = "jump_right"
|
||||
|
||||
|
||||
func enter() -> void:
|
||||
player.sprite.play(ANIMATION_JUMP_RIGHT)
|
||||
player.sprite.play(PlayerSprite.ANIMATION_JUMP_RIGHT)
|
||||
|
||||
Reference in New Issue
Block a user