class

Dungeon::Door

Inherits Dungeon::Wall < Dungeon::Entity < Reference < Object

Constants

DEPTH = 32
DOOR_FRAME_WIDTH = 15
TINT_DEFAULT = LibRay::BROWN
WIDTH = 128

Constructors

new(loc : Location, player : Player, name : String, opening_direction : Direction, next_room_name : String, next_door_name : String, tint = TINT_DEFAULT)

Instance methods

close
collidable?

used for checking for movement collisions

draw
name
new_player_location
open
open?
opening_direction
pass_through
passed_through?
update(_entities)