Planeshift
RainWeatherObject Class Reference

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

#include <weather.h>

Public Member Functions

csBox3 CreateDefaultBBox ()
 
bool CreateMesh ()
 
void Destroy ()
 Destory this weather object and remove any required meshes. More...
 
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 ()
 
- Public Member Functions inherited from WeatherObject
virtual WeatherInfoGetParent ()
 
virtual iSector * GetSector ()
 
virtual void MoveTo (csVector3 pos)
 
virtual void SetColor (float, float, float)
 
virtual void SetParent (WeatherInfo *new_parent)
 
virtual void StartFollow ()
 
virtual void StopFollow ()
 
virtual bool Valid ()
 
 WeatherObject (WeatherInfo *parent)
 
virtual ~WeatherObject ()
 

Static Public Member Functions

static float GetDensity (int drops)
 

Additional Inherited Members

- Protected Member Functions inherited from WeatherObject
void RefreshSector ()
 
- Protected Attributes inherited from WeatherObject
csBox3 bbox
 
csRef< iMaterialWrapper > mat
 
csRef< iMeshWrapper > mesh
 
csRef< iMeshFactoryWrapper > mfw
 
WeatherInfoparent
 

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 ( )
inlinevirtual

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: