|
| Weather () |
| The weather manager stores information about the weather.
|
|
void | update (float dt) |
|
void | playSound () |
|
void | startLightning () |
| Set the flag that a lightning should be shown.
|
|
bool | shouldLightning () |
|
irr::core::vector3df | getIntensity () |
|
|
float | m_next_lightning |
|
float | m_lightning |
|
SFXBase * | m_thunder_sound |
|
SFXBase * | m_weather_sound |
|
|
static S * | getInstance () |
| Used to get the instance, after a dynamic cast. This is important when making a double-inheritance of this class. For example, if A is a singleton inherited by B, you can call B::getInstance<A>() to have the instance returned as a A*. If the cast fails, a log message will notify it.
|
|
static Weather * | getInstance () |
| Used to get the instance.
|
|
static void | kill () |
| Used to kill the singleton, if needed.
|
|
| AbstractSingleton () |
| Constructor.
|
|
virtual | ~AbstractSingleton () |
| Destructor.
|
|
The documentation for this class was generated from the following files: