1 #ifndef EDITOR_COMPONENTS_TYPESELECTOR_HPP
2 #define EDITOR_COMPONENTS_TYPESELECTOR_HPP
4 #include <BLIB/Interfaces/GUI.hpp>
21 using Ptr = std::shared_ptr<TypeSelector>;
Type
Represents a type that a move or Peoplemon can be. Types may be combined.
All classes and functionality used for implementing the game editor.
Wrapper around ComboBox for Peoplemon types.
void setCurrentType(core::pplmn::Type type)
Sets the currently selected type.
static Ptr create()
Create a new TypeSelector.
core::pplmn::Type currentType() const
Returns the type that is currently selected.
std::shared_ptr< TypeSelector > Ptr
Pointer to a TypeSelector component.