class FogOfWar::Scene::Editor
- FogOfWar::Scene::Editor
- GSF::Scene
- Reference
- Object
Defined in:
fog_of_war/scene/editor.crConstant Summary
-
ItemsToPlace =
["border", "player"]
-
Margin =
64
-
PaddingSelection =
16
-
TextColor =
SF::Color::Green
Constructors
Instance Method Summary
- #border(*args, **options)
- #border(*args, **options, &)
- #draw(window)
- #draw_editor(window)
- #draw_header_label(window, label, size, x, y)
- #draw_hud(window)
- #draw_menu_background(window)
- #editor_update(frame_time, keys, mouse)
- #item_to_place
- #level : Level
- #level_data : LevelData
- #menu? : Bool
- #menu_items : GSF::MenuItems
- #menu_level_items : GSF::MenuItems
- #menu_levels? : Bool
- #place_item(mouse)
- #player : FogOfWar::Player
- #reset
- #test_level_key : String | Nil
- #update(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks)
- #update_menu(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks)
- #update_menu_levels(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks)
- #view : GSF::View