Planeshift
SnowWeatherObject Class Reference

Snow. 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)
 
void SetDrops (int drops)
 
void SetupMesh (csBox3 bbox)
 
 SnowWeatherObject (WeatherInfo *parent)
 
virtual void Update (csTicks delta)
 
virtual ~SnowWeatherObject ()
 
- 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

Snow.

Definition at line 147 of file weather.h.

Constructor & Destructor Documentation

SnowWeatherObject::SnowWeatherObject ( WeatherInfo parent)
virtual SnowWeatherObject::~SnowWeatherObject ( )
virtual

Member Function Documentation

csBox3 SnowWeatherObject::CreateDefaultBBox ( )
virtual

Implements WeatherObject.

bool SnowWeatherObject::CreateMesh ( )
virtual

Implements WeatherObject.

void SnowWeatherObject::Destroy ( )
virtual

Destory this weather object and remove any required meshes.

Reimplemented from WeatherObject.

static float SnowWeatherObject::GetDensity ( int  drops)
static
WeatherConditions SnowWeatherObject::GetType ( )
inlinevirtual

Reimplemented from WeatherObject.

Definition at line 164 of file weather.h.

WeatherSound SnowWeatherObject::GetWeatherSound ( )
virtual

Reimplemented from WeatherObject.

WeatherSound SnowWeatherObject::GetWeatherSoundForced ( )
virtual

Reimplemented from WeatherObject.

void SnowWeatherObject::MoveTo ( WeatherInfo newParent,
iSector *  sector 
)
virtual

Reimplemented from WeatherObject.

void SnowWeatherObject::SetDrops ( int  drops)
void SnowWeatherObject::SetupMesh ( csBox3  bbox)
virtual

Implements WeatherObject.

virtual void SnowWeatherObject::Update ( csTicks  delta)
virtual

Reimplemented from WeatherObject.


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