![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
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... | |
Subpage in the map editor for creating and testing game saves.
Definition at line 19 of file GameTesting.hpp.
editor::page::GameTesting::GameTesting | ( | ) |
Construct a new Game Testing page.
Definition at line 9 of file GameTesting.cpp.
const Box::Ptr & editor::page::GameTesting::getContent | ( | ) | const |
Returns the content to pack.
Definition at line 75 of file GameTesting.cpp.
void editor::page::GameTesting::notifyClick | ( | const std::string & | map, |
unsigned int | level, | ||
const sf::Vector2i & | pos | ||
) |
Notifies of the spawn being set.
map | The name of the map to spawn into |
level | The level to spawn on |
pos | The position to spawn at |
Definition at line 86 of file GameTesting.cpp.
void editor::page::GameTesting::registerGUI | ( | bl::gui::GUI * | gui | ) |
Sets the primary GUI object.
Definition at line 73 of file GameTesting.cpp.