13 lines
312 B
GDScript
13 lines
312 B
GDScript
extends CultistWalkState
|
|
|
|
|
|
func init() -> void:
|
|
_direction = DIRECTION_RIGHT
|
|
_wall_high_ray_cast = cultist.right_wall_high_ray
|
|
_wall_low_ray_cast = cultist.right_wall_low_ray
|
|
_player_ray_cast = cultist.right_player_distant_ray
|
|
|
|
|
|
func enter() -> void:
|
|
cultist.sprite.play(CultistSprite.ANIMATION_WALK_RIGHT)
|