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

Scripting validation tab. More...

#include <Scripts.hpp>

+ Inheritance diagram for editor::page::Scripts:

Public Member Functions

 Scripts (core::system::Systems &systems)
 Creates a new scripting validation tab. More...
 
virtual ~Scripts ()=default
 Destroy the Scripts object. More...
 
virtual void update (float dt) override
 Refreshes if called for first time. 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

Scripting validation tab.

Definition at line 16 of file Scripts.hpp.

Constructor & Destructor Documentation

◆ Scripts()

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

Creates a new scripting validation tab.

Parameters
systemsThe main game systems

Definition at line 11 of file Scripts.cpp.

◆ ~Scripts()

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

Destroy the Scripts object.

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.

◆ update()

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

Refreshes if called for first time.

Implements editor::page::Page.

Definition at line 48 of file Scripts.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: