Weather_effect Class Reference

#include <effects.h>

Inheritance diagram for Weather_effect:

Inheritance graph
[legend]
Collaboration diagram for Weather_effect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Weather_effect (int duration, int delay, int n, Game_object *egg=0)
virtual ~Weather_effect ()
int out_of_range (Tile_coord &avpos, int dist)
virtual int is_weather ()
int get_num ()

Protected Attributes

uint32 stop_time
int num
Tile_coord eggloc

Detailed Description

Definition at line 213 of file effects.h.


Constructor & Destructor Documentation

Weather_effect::Weather_effect ( int  duration,
int  delay,
int  n,
Game_object egg = 0 
)

Definition at line 983 of file effects.cc.

References Time_queue::add(), Ucscript::egg, Game_window::get_instance(), Game::get_ticks(), Game_window::get_tqueue(), gwin, and time_factor.

Here is the call graph for this function:

virtual Weather_effect::~Weather_effect (  )  [inline, virtual]

Definition at line 221 of file effects.h.


Member Function Documentation

int Weather_effect::out_of_range ( Tile_coord avpos,
int  dist 
)

Definition at line 1005 of file effects.cc.

virtual int Weather_effect::is_weather (  )  [inline, virtual]

Reimplemented from Special_effect.

Definition at line 225 of file effects.h.

int Weather_effect::get_num (  )  [inline]

Definition at line 227 of file effects.h.

References num.


Member Data Documentation

uint32 Weather_effect::stop_time [protected]

Definition at line 216 of file effects.h.

int Weather_effect::num [protected]

Definition at line 217 of file effects.h.

Referenced by get_num().

Tile_coord Weather_effect::eggloc [protected]

Definition at line 218 of file effects.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:06:08 2007 for ExultEngine by  doxygen 1.5.1