1 #ifndef EDITOR_PAGES_SUBPAGES_GAMETESTING_HPP
2 #define EDITOR_PAGES_SUBPAGES_GAMETESTING_HPP
4 #include <BLIB/Interfaces/GUI.hpp>
40 void notifyClick(
const std::string& map,
unsigned int level,
const sf::Vector2i& pos);
49 std::vector<core::file::GameSave> saves;
53 bl::gui::Box::Ptr content;
54 bl::gui::ComboBox::Ptr saveSelector;
55 bl::gui::Label::Ptr posLabel;
59 void updatePosLabel(
unsigned int level,
const glm::i32vec2& pos);
All classes and functionality used for implementing the game editor.
Represents a game save and provides functionality to load and save.
Subpage in the map editor for creating and testing game saves.
void notifyClick(const std::string &map, unsigned int level, const sf::Vector2i &pos)
Notifies of the spawn being set.
GameTesting()
Construct a new Game Testing page.
const bl::gui::Box::Ptr & getContent() const
Returns the content to pack.
void registerGUI(bl::gui::GUI *gui)
Sets the primary GUI object.