class

Dungeon::Enemy

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

Constants

BUMP_DAMAGE = 5

Constructors

new(loc : Location, sprite : Sprite, collision_box : Box, tint : LibRay::Color, direction : Direction = Direction::Up)

Instance methods

bump_damage
collidable?

used for checking for movement collisions

draw
tint!(tint : LibRay::Color)