class Escapist::RoomEditor
- Escapist::RoomEditor
- Reference
- Object
Defined in:
escapist/room_editor.crConstant Summary
-
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 Method Summary
- #check_for_door_indicator
- #cursor : Escapist::Cursor
- #cursor_door_sym
- #door_indicator? : Bool
- #draw(window : SF::RenderWindow)
- #draw_door_indicator(window)
- #draw_x(window)
- #has_tile? : Bool
- #place_sound : SF::Sound
- #place_type_sym
- #play_place_sound(remove = false)
- #room : Room
- #room=(room : Room)
- #switch_sound : SF::Sound
- #update(frame_time, keys : Keys)
- #update_editing(keys : Keys)
- #update_viewport(room : Room)
- #view : View