Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Types | Public Member Functions | Static Public Member Functions | List of all members
editor::component::WeatherSelect Class Reference

Helper component to select weather. More...

#include <WeatherSelect.hpp>

+ Inheritance diagram for editor::component::WeatherSelect:

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...
 

Detailed Description

Helper component to select weather.

Definition at line 17 of file WeatherSelect.hpp.

Member Typedef Documentation

◆ Ptr

Pointer to the weather selector.

Definition at line 20 of file WeatherSelect.hpp.

Member Function Documentation

◆ create()

WeatherSelect::Ptr editor::component::WeatherSelect::create ( )
static

Creates a new weather selector.

Definition at line 7 of file WeatherSelect.cpp.

◆ selectedWeather()

core::map::Weather::Type editor::component::WeatherSelect::selectedWeather ( ) const

Returns the currently selected weather.

Definition at line 32 of file WeatherSelect.cpp.

◆ setSelectedWeather()

void editor::component::WeatherSelect::setSelectedWeather ( core::map::Weather::Type  type)

Sets the currently selected weather.

Definition at line 37 of file WeatherSelect.cpp.


The documentation for this class was generated from the following files: