#include <zEffector.h>
Public Member Functions | |
zEffectorDeath () | |
zEffectorDeath (zEffectorDeath const &other) | |
void | operator= (zEffectorDeath const &other) |
virtual zEffectorDeath * | copy (void) const |
overloaded assignment operator | |
virtual | ~zEffectorDeath () |
virtual void | effect (gVectorExtra< ePlayerNetID * > &d_calculatedTargets) |
Static Public Member Functions | |
static zEffector * | create () |
Definition at line 80 of file zEffector.h.
zEffectorDeath::zEffectorDeath | ( | ) | [inline] |
Definition at line 84 of file zEffector.h.
Referenced by copy(), and create().
00084 :zEffector(){ }; //<! Constructor
zEffectorDeath::zEffectorDeath | ( | zEffectorDeath const & | other | ) | [inline] |
virtual zEffectorDeath::~zEffectorDeath | ( | ) | [inline, virtual] |
static zEffector* zEffectorDeath::create | ( | ) | [inline, static] |
Reimplemented from zEffector.
Definition at line 83 of file zEffector.h.
References zEffectorDeath().
00083 { return new zEffectorDeath(); };
void zEffectorDeath::operator= | ( | zEffectorDeath const & | other | ) | [inline] |
Definition at line 86 of file zEffector.h.
References zEffector::operator=().
00086 { this->zEffector::operator=(other); };
virtual zEffectorDeath* zEffectorDeath::copy | ( | void | ) | const [inline, virtual] |
overloaded assignment operator
Reimplemented from zEffector.
Definition at line 87 of file zEffector.h.
References zEffectorDeath().
00087 { return new zEffectorDeath(*this); };
void zEffectorDeath::effect | ( | gVectorExtra< ePlayerNetID * > & | d_calculatedTargets | ) | [virtual] |
Reimplemented from zEffector.
Definition at line 102 of file zEffector.cpp.
00103 { 00104 gVectorExtra<ePlayerNetID *>::iterator iter; 00105 for(iter = d_calculatedTargets.begin(); 00106 iter != d_calculatedTargets.end(); 00107 ++iter) 00108 { 00109 static_cast<gCycle *>((*iter)->Object())->Kill(); 00110 } 00111 }