Peoplemon  0.1.0
Peoplemon 3 game source documentation
Page.cpp
Go to the documentation of this file.
1 #include <Editor/Pages/Page.hpp>
2 
3 namespace editor
4 {
5 namespace page
6 {
8 : systems(s)
9 , parent(nullptr) {}
10 
11 bl::gui::Box::Ptr Page::getContent() { return content; }
12 
13 void Page::registerGui(bl::gui::GUI* p) { parent = p; }
14 
15 } // namespace page
16 } // namespace editor
All classes and functionality used for implementing the game editor.
Definition: Tile.hpp:11
Owns all primary systems and a reference to the engine.
Definition: Systems.hpp:47
bl::gui::Box::Ptr getContent()
Returns the content to put in the editor.
Definition: Page.cpp:11
bl::gui::Box::Ptr content
Definition: Page.hpp:69
bl::gui::GUI * parent
Definition: Page.hpp:70
Page(core::system::Systems &systems)
Construct a new Page.
Definition: Page.cpp:7
void registerGui(bl::gui::GUI *parent)
Registers the parent GUI.
Definition: Page.cpp:13