#include <effects.h>
Inheritance diagram for Rain_effect:


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 |
Definition at line 253 of file effects.h.
| Rain_effect::Rain_effect | ( | int | duration, | |
| int | delay = 0, |
|||
| int | ndrops = 200, |
|||
| int | n = -1, |
|||
| Game_object * | egg = 0 | |||
| ) | [inline] |
| 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:

Raindrop Rain_effect::drops[200] [protected] |
int Rain_effect::num_drops [protected] |
1.5.1