class Escapist::Scene::Editor

Defined in:

escapist/scene/editor.cr

Constant Summary

BottomBorder = 64
HorizontalBorder = 16
RoomDimensionMax = 5
RoomDimensionMin = 1
TopBorder = 64

Constructors

Instance Method Summary

Constructor Detail

def self.new(window) #

[View source]

Instance Method Detail

def draw(window) #

[View source]
def draw_border(window) #

[View source]
def draw_header_label(window, label, size, x, y) #

[View source]
def draw_menu_background(window) #

[View source]
def draw_menu_new(window) #

[View source]
def draw_new_selectable_label(window, label, size, index, x, y) #

[View source]
def editor : RoomEditor #

[View source]
def height #

[View source]
def menu? : Bool #

[View source]
def menu_items : GSF::MenuItems #

[View source]
def menu_new? : Bool #

[View source]
def menu_room_items : GSF::MenuItems #

[View source]
def menu_rooms? : Bool #

[View source]
def open_menu #

[View source]
def room_data : RoomData #

[View source]
def update(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks) #

[View source]
def update_door #

[View source]
def update_menu(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks) #

[View source]
def update_menu_new(keys : Keys) #

[View source]
def update_menu_new_item_index(keys : Keys) #

[View source]
def update_menu_new_item_selection(keys : Keys, item) #

[View source]
def update_menu_new_item_values(keys : Keys, item) #

[View source]
def update_menu_rooms(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks) #

[View source]
def view : View #

[View source]
def width #

[View source]