Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Protected Attributes | List of all members
editor::page::Map Class Reference

Page for map editing. Tiles, levels, events, NPC's, weather, lighting, everything. More...

#include <Map.hpp>

+ Inheritance diagram for editor::page::Map:

Public Member Functions

 Map (core::system::Systems &systems)
 Construct a new Map page. More...
 
virtual ~Map ()=default
 Destroy the Page. More...
 
virtual void update (float dt) override
 Updates the game world and systems. More...
 
void syncGui ()
 Updates the GUI elements to sync with the data. 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::Systemssystems
 
bl::gui::Box::Ptr content
 
bl::gui::GUI * parent
 

Detailed Description

Page for map editing. Tiles, levels, events, NPC's, weather, lighting, everything.

Definition at line 29 of file Map.hpp.

Constructor & Destructor Documentation

◆ Map()

editor::page::Map::Map ( core::system::Systems systems)

Construct a new Map page.

Parameters
systemsThe primary systems object

Definition at line 21 of file Map.cpp.

◆ ~Map()

virtual editor::page::Map::~Map ( )
virtualdefault

Destroy the Page.

Member Function Documentation

◆ getContent()

bl::gui::Box::Ptr editor::page::Page::getContent ( )
inherited

Returns the content to put in the editor.

Definition at line 11 of file Page.cpp.

◆ registerGui()

void editor::page::Page::registerGui ( bl::gui::GUI *  parent)
inherited

Registers the parent GUI.

Parameters
parentThe parent GUI object

Definition at line 13 of file Page.cpp.

◆ syncGui()

void editor::page::Map::syncGui ( )

Updates the GUI elements to sync with the data.

Definition at line 871 of file Map.cpp.

◆ update()

void editor::page::Map::update ( float  dt)
overridevirtual

Updates the game world and systems.

Parameters
dtTime elapsed in seconds

Implements editor::page::Page.

Definition at line 467 of file Map.cpp.

Member Data Documentation

◆ content

bl::gui::Box::Ptr editor::page::Page::content
protectedinherited

Definition at line 69 of file Page.hpp.

◆ parent

bl::gui::GUI* editor::page::Page::parent
protectedinherited

Definition at line 70 of file Page.hpp.

◆ systems

core::system::Systems& editor::page::Page::systems
protectedinherited

Definition at line 68 of file Page.hpp.


The documentation for this class was generated from the following files: