Death_vortex Class Reference

#include <effects.h>

Inheritance diagram for Death_vortex:

Inheritance graph
[legend]
Collaboration diagram for Death_vortex:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Death_vortex (Game_object *trg, Tile_coord tp)
virtual void handle_event (unsigned long time, long udata)
virtual void paint ()

Private Member Functions

int add_dirty ()

Private Attributes

ShapeID vortex
Actortarget
Tile_coord pos
int frames
uint32 stop_time
uint32 next_damage_time

Detailed Description

Definition at line 165 of file effects.h.


Constructor & Destructor Documentation

Death_vortex::Death_vortex ( Game_object trg,
Tile_coord  tp 
)

Definition at line 747 of file effects.cc.

References Time_queue::add(), Game_object::as_actor(), Game_window::get_instance(), Game::get_ticks(), Game_object::get_tile(), Game_window::get_tqueue(), and gwin.

Here is the call graph for this function:


Member Function Documentation

int Death_vortex::add_dirty (  )  [inline, private]

Definition at line 769 of file effects.cc.

References Game_window::add_dirty(), c_tilesize, Game_window::clip_to_win(), Rectangle::enlarge(), Game_window::get_scrolltx(), Game_window::get_scrollty(), Game_window::get_shape_rect(), Shape_frame::get_width(), gwin, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.

Here is the call graph for this function:

void Death_vortex::handle_event ( unsigned long  time,
long  udata 
) [virtual]

Implements Time_sensitive.

Definition at line 785 of file effects.cc.

References Time_queue::add(), Game_window::add_dirty(), c_tilesize, Game_object::find_nearby(), Game_window::get_instance(), Game_window::get_tqueue(), gwin, Exult_server::npc, Game_window::npcs, Game_window::set_all_dirty(), Tile_coord::tx, Tile_coord::ty, and width.

Here is the call graph for this function:

void Death_vortex::paint (  )  [virtual]

Reimplemented from Special_effect.

Definition at line 836 of file effects.cc.

References c_tilesize, Game_window::get_scrolltx(), Game_window::get_scrollty(), gwin, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.

Here is the call graph for this function:


Member Data Documentation

ShapeID Death_vortex::vortex [private]

Definition at line 167 of file effects.h.

Actor* Death_vortex::target [private]

Definition at line 168 of file effects.h.

Tile_coord Death_vortex::pos [private]

Definition at line 169 of file effects.h.

int Death_vortex::frames [private]

Definition at line 170 of file effects.h.

uint32 Death_vortex::stop_time [private]

Definition at line 171 of file effects.h.

uint32 Death_vortex::next_damage_time [private]

Definition at line 172 of file effects.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:49:42 2007 for ExultEngine by  doxygen 1.5.1