![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Helper component to select weather. More...
#include <WeatherSelect.hpp>
Public Types | |
using | Ptr = std::shared_ptr< WeatherSelect > |
Pointer to the weather selector. More... | |
Public Member Functions | |
core::map::Weather::Type | selectedWeather () const |
Returns the currently selected weather. More... | |
void | setSelectedWeather (core::map::Weather::Type type) |
Sets the currently selected weather. More... | |
Static Public Member Functions | |
static Ptr | create () |
Creates a new weather selector. More... | |
Helper component to select weather.
Definition at line 17 of file WeatherSelect.hpp.
using editor::component::WeatherSelect::Ptr = std::shared_ptr<WeatherSelect> |
Pointer to the weather selector.
Definition at line 20 of file WeatherSelect.hpp.
|
static |
Creates a new weather selector.
Definition at line 7 of file WeatherSelect.cpp.
core::map::Weather::Type editor::component::WeatherSelect::selectedWeather | ( | ) | const |
Returns the currently selected weather.
Definition at line 32 of file WeatherSelect.cpp.
void editor::component::WeatherSelect::setSelectedWeather | ( | core::map::Weather::Type | type | ) |
Sets the currently selected weather.
Definition at line 37 of file WeatherSelect.cpp.