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

Subpage in the map editor for creating and testing game saves. More...

#include <GameTesting.hpp>

Public Member Functions

 GameTesting ()
 Construct a new Game Testing page. More...
 
void registerGUI (bl::gui::GUI *gui)
 Sets the primary GUI object. More...
 
void notifyClick (const std::string &map, unsigned int level, const sf::Vector2i &pos)
 Notifies of the spawn being set. More...
 
const bl::gui::Box::Ptr & getContent () const
 Returns the content to pack. More...
 

Detailed Description

Subpage in the map editor for creating and testing game saves.

Definition at line 19 of file GameTesting.hpp.

Constructor & Destructor Documentation

◆ GameTesting()

editor::page::GameTesting::GameTesting ( )

Construct a new Game Testing page.

Definition at line 9 of file GameTesting.cpp.

Member Function Documentation

◆ getContent()

const Box::Ptr & editor::page::GameTesting::getContent ( ) const

Returns the content to pack.

Definition at line 75 of file GameTesting.cpp.

◆ notifyClick()

void editor::page::GameTesting::notifyClick ( const std::string &  map,
unsigned int  level,
const sf::Vector2i &  pos 
)

Notifies of the spawn being set.

Parameters
mapThe name of the map to spawn into
levelThe level to spawn on
posThe position to spawn at

Definition at line 86 of file GameTesting.cpp.

◆ registerGUI()

void editor::page::GameTesting::registerGUI ( bl::gui::GUI *  gui)

Sets the primary GUI object.

Definition at line 73 of file GameTesting.cpp.


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