Planeshift
|
When a weather event is created, it goes here. More...
#include <weathermanager.h>
Public Member Functions | |
const char * | GetType () |
Return the type that this event where created with. | |
psWeatherGameEvent (WeatherManager *mgr, int delayticks, int eventtype, int eventvalue, int duration, int fade, const char *sector, psSectorInfo *si, uint client, int r=0, int g=0, int b=0) | |
virtual void | Trigger () |
Abstract event processing function. | |
Public Attributes | |
int | cb |
int | cg |
uint | clientnum |
int | cr |
int | duration |
int | fade |
csString | sector |
psSectorInfo * | si |
int | type |
The type of this GameEvent, used for debugging. | |
int | value |
Protected Attributes | |
WeatherManager * | weathermanager |
When a weather event is created, it goes here.
Definition at line 137 of file weathermanager.h.
psWeatherGameEvent::psWeatherGameEvent | ( | WeatherManager * | mgr, |
int | delayticks, | ||
int | eventtype, | ||
int | eventvalue, | ||
int | duration, | ||
int | fade, | ||
const char * | sector, | ||
psSectorInfo * | si, | ||
uint | client, | ||
int | r = 0 , |
||
int | g = 0 , |
||
int | b = 0 |
||
) |
const char* psWeatherGameEvent::GetType | ( | ) |
Return the type that this event where created with.
Used for debugging.
Reimplemented from psGameEvent.
virtual void psWeatherGameEvent::Trigger | ( | ) | [virtual] |
Abstract event processing function.
Implements psGameEvent.
Definition at line 157 of file weathermanager.h.
Definition at line 157 of file weathermanager.h.
Definition at line 161 of file weathermanager.h.
Definition at line 157 of file weathermanager.h.
Definition at line 158 of file weathermanager.h.
Definition at line 158 of file weathermanager.h.
csString psWeatherGameEvent::sector |
Definition at line 159 of file weathermanager.h.
Definition at line 160 of file weathermanager.h.
The type of this GameEvent, used for debugging.
Reimplemented from psGameEvent.
Definition at line 158 of file weathermanager.h.
Definition at line 158 of file weathermanager.h.
WeatherManager* psWeatherGameEvent::weathermanager [protected] |
Definition at line 165 of file weathermanager.h.