class Buzzle::Room::Base

Direct Known Subclasses

Defined in:

buzzle/room/base.cr

Constant Summary

GRID_SIZE = Game::GRID_SIZE

Constructors

Instance Method Summary

Constructor Detail

def self.new(player : Buzzle::Player, entities = [] of Entity, doors : Hash(Symbol, Buzzle::Door::Base) = {} of Symbol => Door::Base, width = 10, height = 10) #

[View source]

Instance Method Detail

def add_border_walls #

[View source]
def add_down_wall(x, y) #

[View source]
def add_left_wall(x, y, inner = false) #

[View source]
def add_left_walls #

[View source]
def add_right_wall(x, y) #

[View source]
def add_right_walls #

[View source]
def add_top_walls #

[View source]
def add_up_wall(x, y) #

[View source]
def door?(x, y) #

[View source]
def doors : Hash(Symbol, Buzzle::Door::Base) #

[View source]
def draw(view : Scene::View) #

[View source]
def height : Int32 #

[View source]
def player : Player #

[View source]
def quest_step?(quest, step) #

[View source]
def update(frame_time) #

[View source]
def width : Int32 #

[View source]
def x : Int32 | Float32 #

[View source]
def x=(x : Int32 | Float32) #

[View source]
def y : Int32 | Float32 #

[View source]
def y=(y : Int32 | Float32) #

[View source]