Planeshift
Public Member Functions | Static Public Member Functions

RainWeatherObject Class Reference

Rain, also handles a fog object. More...

#include <weather.h>

List of all members.

Public Member Functions

csBox3 CreateDefaultBBox ()
bool CreateMesh ()
void Destroy ()
 Destory this weather object and remove any required meshes.
WeatherConditions GetType ()
WeatherSound GetWeatherSound ()
WeatherSound GetWeatherSoundForced ()
void MoveTo (WeatherInfo *newParent, iSector *sector)
 RainWeatherObject (WeatherInfo *parent)
void SetDrops (int drops)
void SetupMesh (csBox3 bbox)
virtual void Update (csTicks delta)
virtual ~RainWeatherObject ()

Static Public Member Functions

static float GetDensity (int drops)

Detailed Description

Rain, also handles a fog object.

Definition at line 120 of file weather.h.


Constructor & Destructor Documentation

RainWeatherObject::RainWeatherObject ( WeatherInfo parent)
virtual RainWeatherObject::~RainWeatherObject ( ) [virtual]

Member Function Documentation

csBox3 RainWeatherObject::CreateDefaultBBox ( ) [virtual]

Implements WeatherObject.

bool RainWeatherObject::CreateMesh ( ) [virtual]

Implements WeatherObject.

void RainWeatherObject::Destroy ( ) [virtual]

Destory this weather object and remove any required meshes.

Reimplemented from WeatherObject.

static float RainWeatherObject::GetDensity ( int  drops) [static]
WeatherConditions RainWeatherObject::GetType ( ) [inline, virtual]

Reimplemented from WeatherObject.

Definition at line 137 of file weather.h.

WeatherSound RainWeatherObject::GetWeatherSound ( ) [virtual]

Reimplemented from WeatherObject.

WeatherSound RainWeatherObject::GetWeatherSoundForced ( ) [virtual]

Reimplemented from WeatherObject.

void RainWeatherObject::MoveTo ( WeatherInfo newParent,
iSector *  sector 
) [virtual]

Reimplemented from WeatherObject.

void RainWeatherObject::SetDrops ( int  drops)
void RainWeatherObject::SetupMesh ( csBox3  bbox) [virtual]

Implements WeatherObject.

virtual void RainWeatherObject::Update ( csTicks  delta) [virtual]

Reimplemented from WeatherObject.


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