class

Dungeon::Weapon

Inherits Dungeon::Entity < Reference < Object

Constants

DAMAGE = 5

Constructors

new(loc : Location, direction : Direction, sprite, collision_box : Box)

Instance methods

attack(entities : Array(LivingEntity))
attack
attacking?
direction
draw
hit?(entity : LivingEntity)
update(entities)