![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Base class for all editor pages. More...
#include <Page.hpp>
Public Member Functions | |
Page (core::system::Systems &systems) | |
Construct a new Page. More... | |
virtual | ~Page ()=default |
Destroy the Page. More... | |
virtual void | update (float dt)=0 |
Any custom page update logic outside of event callbacks goes here. More... | |
bl::gui::Box::Ptr | getContent () |
Returns the content to put in the editor. More... | |
void | registerGui (bl::gui::GUI *parent) |
Registers the parent GUI. More... | |
Protected Attributes | |
core::system::Systems & | systems |
bl::gui::Box::Ptr | content |
bl::gui::GUI * | parent |
editor::page::Page::Page | ( | core::system::Systems & | systems | ) |
|
virtualdefault |
Destroy the Page.
bl::gui::Box::Ptr editor::page::Page::getContent | ( | ) |
void editor::page::Page::registerGui | ( | bl::gui::GUI * | parent | ) |
|
pure virtual |
Any custom page update logic outside of event callbacks goes here.
dt | Time elapsed in seconds |
Implemented in editor::page::VariousEditors, editor::page::Scripts, editor::page::Peoplemon, editor::page::Moves, editor::page::Map, editor::page::Items, and editor::page::Credits.
|
protected |