OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MWWorld::RegionWeather Class Reference

A class for storing a region's weather. More...

#include <weather.hpp>

Collaboration diagram for MWWorld::RegionWeather:

Public Member Functions

 RegionWeather (const ESM::Region &region)
 
 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
 

Detailed Description

A class for storing a region's weather.

Constructor & Destructor Documentation

RegionWeather::RegionWeather ( const ESM::Region region)
explicit
RegionWeather::RegionWeather ( const ESM::RegionWeatherState state)
explicit

Member Function Documentation

void RegionWeather::chooseNewWeather ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

int RegionWeather::getWeather ( )

Here is the call graph for this function:

Here is the caller graph for this function:

RegionWeather::operator ESM::RegionWeatherState ( ) const
void RegionWeather::setChances ( const std::vector< char > &  chances)

Here is the call graph for this function:

void RegionWeather::setWeather ( int  weatherID)

Member Data Documentation

std::vector<char> MWWorld::RegionWeather::mChances
private
int MWWorld::RegionWeather::mWeather
private

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