Fixed chase states
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
extends CultistWalkState
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
|
||||
func init() -> void:
|
||||
_direction = DIRECTION_RIGHT
|
||||
_wall_ray_cast = cultist.right_wall_ray
|
||||
_player_ray_cast = cultist.right_player_distant_ray
|
||||
|
||||
|
||||
func enter() -> void:
|
||||
cultist.sprite.play(CultistSprite.ANIMATION_WALK_RIGHT)
|
||||
|
||||
Reference in New Issue
Block a user