Rain_effect Class Reference

#include <effects.h>

Inheritance diagram for Rain_effect:

Inheritance graph
[legend]
Collaboration diagram for Rain_effect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Rain_effect (int duration, int delay=0, int ndrops=200, int n=-1, Game_object *egg=0)
virtual void handle_event (unsigned long curtime, long udata)
virtual void paint ()

Protected Attributes

Raindrop drops [200]
int num_drops

Detailed Description

Definition at line 253 of file effects.h.


Constructor & Destructor Documentation

Rain_effect::Rain_effect ( int  duration,
int  delay = 0,
int  ndrops = 200,
int  n = -1,
Game_object egg = 0 
) [inline]

Definition at line 260 of file effects.h.


Member Function Documentation

void Rain_effect::handle_event ( unsigned long  curtime,
long  udata 
) [virtual]

Implements Time_sensitive.

Reimplemented in Sparkle_effect.

Definition at line 1108 of file effects.cc.

References Time_queue::add(), Image_window::get_height(), Game_window::get_instance(), Game_window::get_scrolltx(), Game_window::get_scrollty(), Game_window::get_tqueue(), Image_window::get_width(), Game_window::get_win(), gwin, Game_window::is_main_actor_inside(), Game_window::set_all_dirty(), Game_window::set_painted(), and Game_window::win.

Here is the call graph for this function:

void Rain_effect::paint (  )  [virtual]

Reimplemented from Special_effect.

Definition at line 1142 of file effects.cc.

References Game_window::get_scrolltx(), Game_window::get_scrollty(), Game_window::get_win(), gwin, Game_window::is_main_actor_inside(), Game_window::paint(), Game_window::set_painted(), and Game_window::win.

Here is the call graph for this function:


Member Data Documentation

Raindrop Rain_effect::drops[200] [protected]

Definition at line 257 of file effects.h.

int Rain_effect::num_drops [protected]

Definition at line 258 of file effects.h.


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