class

Dungeon::SoldierFollowing

Inherits Dungeon::MovingEnemy < Dungeon::Enemy < Dungeon::LivingEntity < Dungeon::Entity < Reference < Object

Constants

MOVEMENT = 50

Constructors

new(loc : Location, player : Player, direction = Direction::Up)

Instance methods

at_target?
draw
draw_line_of_site_box
move_again
move_again?(delta : NamedTuple(x: Float32, y: Float32))
move_delta(delta_t)
moving?
sees_player?
set_direction
set_target
viewable?(camera : Camera)