![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Wrapper around ComboBox for Peoplemon types. More...
#include <TypeSelector.hpp>
Public Types | |
using | Ptr = std::shared_ptr< TypeSelector > |
Pointer to a TypeSelector component. More... | |
Public Member Functions | |
core::pplmn::Type | currentType () const |
Returns the type that is currently selected. More... | |
void | setCurrentType (core::pplmn::Type type) |
Sets the currently selected type. More... | |
Static Public Member Functions | |
static Ptr | create () |
Create a new TypeSelector. More... | |
Wrapper around ComboBox for Peoplemon types.
Definition at line 18 of file TypeSelector.hpp.
using editor::component::TypeSelector::Ptr = std::shared_ptr<TypeSelector> |
Pointer to a TypeSelector component.
Definition at line 21 of file TypeSelector.hpp.
|
static |
Create a new TypeSelector.
Definition at line 20 of file TypeSelector.cpp.
core::pplmn::Type editor::component::TypeSelector::currentType | ( | ) | const |
Returns the type that is currently selected.
Definition at line 36 of file TypeSelector.cpp.
void editor::component::TypeSelector::setCurrentType | ( | core::pplmn::Type | type | ) |
Sets the currently selected type.
type | The type to set |
Definition at line 38 of file TypeSelector.cpp.