1 #ifndef EDITOR_COMPONENTS_PEOPLEMONSELECTOR_HPP
2 #define EDITOR_COMPONENTS_PEOPLEMONSELECTOR_HPP
4 #include <BLIB/Interfaces/GUI.hpp>
19 using Ptr = std::shared_ptr<PeoplemonSelector>;
27 static Ptr create(
bool allowUnknown =
false);
48 const bool allowUnknown;
All classes and functionality used for implementing the game editor.
Special combobox for Peoplemon ids.
static Ptr create(bool allowUnknown=false)
Creates a new peoplemon selector.
core::pplmn::Id currentPeoplemon() const
Returns the currently selected peoplemon.
std::shared_ptr< PeoplemonSelector > Ptr
void setPeoplemon(core::pplmn::Id id)
Sets the currently selected Peoplemon.
void refresh()
Refreshes the list of peoplemon.