OpenMW
|
A class for storing a region's weather. More...
#include <weather.hpp>
Public Member Functions | |
RegionWeather (const ESM::Region ®ion) | |
RegionWeather (const ESM::RegionWeatherState &state) | |
operator ESM::RegionWeatherState () const | |
void | setChances (const std::vector< char > &chances) |
void | setWeather (int weatherID) |
int | getWeather () |
Private Member Functions | |
void | chooseNewWeather () |
Private Attributes | |
int | mWeather |
std::vector< char > | mChances |
A class for storing a region's weather.
|
explicit |
|
explicit |
|
private |
int RegionWeather::getWeather | ( | ) |
RegionWeather::operator ESM::RegionWeatherState | ( | ) | const |
void RegionWeather::setChances | ( | const std::vector< char > & | chances | ) |
void RegionWeather::setWeather | ( | int | weatherID | ) |
|
private |
|
private |