1 #ifndef EDITOR_PAGES_PAGE_HPP
2 #define EDITOR_PAGES_PAGE_HPP
4 #include <BLIB/Interfaces/GUI.hpp>
All classes and functionality used for implementing the game editor.
Owns all primary systems and a reference to the engine.
Base class for all editor pages.
virtual ~Page()=default
Destroy the Page.
virtual void update(float dt)=0
Any custom page update logic outside of event callbacks goes here.
bl::gui::Box::Ptr getContent()
Returns the content to put in the editor.
bl::gui::Box::Ptr content
Page(core::system::Systems &systems)
Construct a new Page.
void registerGui(bl::gui::GUI *parent)
Registers the parent GUI.
core::system::Systems & systems