class Escapist::Floor

Defined in:

escapist/floor.cr

Constant Summary

Padding = 56

Constructors

Instance Method Summary

Constructor Detail

def self.new(view : GSF::View, rooms : Hash(String, Escapist::Room), first_room_key : String) #

[View source]

Instance Method Detail

def draw(window : SF::RenderWindow) #

[View source]
def player : Escapist::Player #

[View source]
def room_key : String #

[View source]
def rooms : Hash(String, Room) #

[View source]
def switch_room(room_key) #

[View source]
def update(frame_time, keys : Keys) #

[View source]
def update_viewport(room : Room) #

[View source]
def view : View #

[View source]