![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
The primary state of the editor. Owns the GUI and all tabs. More...
#include <MainEditor.hpp>
Public Member Functions | |
virtual | ~MainEditor ()=default |
Destroy the Main Editor state. More... | |
virtual const char * | name () const override |
Returns "MainEditor". More... | |
virtual void | activate (bl::engine::Engine &) override |
Subscribes the gui to window events. More... | |
virtual void | deactivate (bl::engine::Engine &) override |
Unsubscribes the gui from window events. More... | |
virtual void | update (bl::engine::Engine &, float dt, float) override |
Updates the gui and the current page. More... | |
Static Public Member Functions | |
static Ptr | create (core::system::Systems &systems) |
Construct a new Main Editor state. More... | |
static void | registerCustomGuiComponents () |
Registers renderer components for custom GUI elements. More... | |
The primary state of the editor. Owns the GUI and all tabs.
Definition at line 35 of file MainEditor.hpp.
|
virtualdefault |
Destroy the Main Editor state.
|
overridevirtual |
Subscribes the gui to window events.
Definition at line 71 of file MainEditor.cpp.
|
static |
Construct a new Main Editor state.
systems | The primary systems object |
Definition at line 15 of file MainEditor.cpp.
|
overridevirtual |
Unsubscribes the gui from window events.
Definition at line 78 of file MainEditor.cpp.
|
overridevirtual |
Returns "MainEditor".
Definition at line 69 of file MainEditor.cpp.
|
static |
Registers renderer components for custom GUI elements.
Definition at line 98 of file MainEditor.cpp.
|
overridevirtual |
Updates the gui and the current page.
dt | Time elapsed in seconds |
Definition at line 84 of file MainEditor.cpp.