Escapist::RoomEditor
Constants
DoorIndicatorFontSize = 24
DoorIndicatorTextColor = SF::Color.new(153, 0, 0, 125)
Padding = 56
PlaceSound = SF::SoundBuffer.from_file("./assets/cursor.wav")
PlaceSoundPitchDecrease = 0.33
PlaceSoundPitchVariation = 0.13
PlaceTypes = [nil, :block, :movable_block, :laser_block, :floor_switch, :laser_switch]
SwitchSound = SF::SoundBuffer.from_file("./assets/cursor_switch.wav")
SwitchSoundPitchVariation = 0.13
SwitchSoundVolume = 33
XFontSize = 48
XTextColor = SF::Color.new(153, 0, 0, 125)
Constructors
Instance methods
check_for_door_indicator
Sourcecursor
Sourcecursor_door_sym
Sourcedoor_indicator?
Sourcedraw(window : SF::RenderWindow)
Sourcedraw_door_indicator(window)
Sourcedraw_x(window)
Sourcehas_tile?
Sourceplace_sound
Sourceplace_type_sym
Sourceplay_place_sound(remove = false)
Sourceroom
Sourceroom=(room : Room)
Sourceswitch_sound
Sourceupdate(frame_time, keys : Keys)
Sourceupdate_editing(keys : Keys)
Sourceupdate_viewport(room : Room)
Sourceview
Source