Peoplemon  0.1.0
Peoplemon 3 game source documentation
LevelTransitions.hpp
Go to the documentation of this file.
1 #ifndef EDITOR_PAGES_SUBPAGES_LEVELTRANSITIONS_HPP
2 #define EDITOR_PAGES_SUBPAGES_LEVELTRANSITIONS_HPP
3 
4 #include <BLIB/Interfaces/GUI.hpp>
6 
7 namespace editor
8 {
9 namespace page
10 {
18 public:
24 
29  bl::gui::Element::Ptr getContent();
30 
36 
37 private:
38  bl::gui::Box::Ptr content;
40 
41  void update(core::map::LevelTransition lt);
42 };
43 
44 } // namespace page
45 } // namespace editor
46 
47 #endif
LevelTransition
Represents a level transition in a map. Level transitions are applied when an entity moves either ont...
All classes and functionality used for implementing the game editor.
Definition: Tile.hpp:11
Subpage for selecting level transitions to place on the map.
LevelTransitions()
Construct a new Level Transitions GUI page.
core::map::LevelTransition getActive() const
Returns the currently selected level transition type.
bl::gui::Element::Ptr getContent()
Returns a packable GUI element to add this page to the GUI.