|
| virtual void | draw (Compositor &) override |
| | gets called once per frame. More...
|
| |
| virtual void | update (float dt_sec, const Controller &controller) override |
| | gets called for once (per logical) frame. More...
|
| |
|
virtual void | setup () override |
| | gets called before this screen gets activated (which is at least once before the first draw or update call
|
| |
|
virtual void | leave () override |
| | gets called when the current screen is temporarily suspended
|
| |
|
void | event (const SDL_Event &ev) |
| |
|
void | resize () |
| |
|
void | disable_keyboard () |
| |
|
Level * | get_level () const |
| |
|
void | set_world (std::unique_ptr< World > w) |
| |
|
World * | get_world () const |
| |
|
TileSet * | get_tileset () const |
| |
|
TileSelection * | get_tiles () const |
| |
|
std::string | get_tileselect_object () const |
| |
|
EditorToolboxWidget::InputType | get_tileselect_input_type () const |
| |
|
int | get_tileselect_select_mode () const |
| |
|
int | get_tileselect_move_mode () const |
| |
|
std::string | get_levelfile () const |
| |
|
void | set_level (const std::string &levelfile_) |
| |
|
std::string | get_level_directory () const |
| |
|
void | open_level_directory () |
| |
|
bool | is_testing_level () const |
| |
|
void | check_save_prerequisites (const std::function< void()> &callback) const |
| | Checks whether the level can be saved and does not contain obvious issues (currently: check if main sector and a spawn point named "main" is present)
|
| |
|
void | check_unsaved_changes (const std::function< void()> &action) |
| |
|
void | load_sector (const std::string &name) |
| |
|
void | delete_current_sector () |
| |
|
void | update_node_iterators () |
| |
|
void | esc_press () |
| |
|
void | delete_markers () |
| |
|
void | sort_layers () |
| |
|
void | select_tilegroup (int id) |
| |
|
const std::vector< Tilegroup > & | get_tilegroups () const |
| |
|
void | change_tileset () |
| |
|
void | select_objectgroup (int id) |
| |
|
const std::vector< ObjectGroup > & | get_objectgroups () const |
| |
|
void | scroll (const Vector &velocity) |
| |
|
bool | is_level_loaded () const |
| |
|
void | edit_path (Path *path, GameObject *new_marked_object) |
| |
|
void | add_layer (GameObject *layer) |
| |
|
GameObject * | get_selected_tilemap () const |
| |
|
Sector * | get_sector () |
| |
|
void | undo () |
| |
|
void | redo () |
| |