#include <zEffector.h>
Public Member Functions | |
zEffectorPoint () | |
zEffectorPoint (zEffectorPoint const &other) | |
void | operator= (zEffectorPoint const &other) |
virtual zEffectorPoint * | copy (void) const |
overloaded assignment operator | |
virtual | ~zEffectorPoint () |
void | setPoint (int p) |
int | getPoint () const |
virtual void | effect (gVectorExtra< ePlayerNetID * > &d_calculatedTargets) |
Static Public Member Functions | |
static zEffector * | create () |
Protected Attributes | |
int | d_score |
Definition at line 93 of file zEffector.h.
zEffectorPoint::zEffectorPoint | ( | ) | [inline] |
Definition at line 97 of file zEffector.h.
Referenced by copy(), and create().
00097 :zEffector(){ }; //<! Constructor
zEffectorPoint::zEffectorPoint | ( | zEffectorPoint const & | other | ) | [inline] |
virtual zEffectorPoint::~zEffectorPoint | ( | ) | [inline, virtual] |
static zEffector* zEffectorPoint::create | ( | ) | [inline, static] |
Reimplemented from zEffector.
Definition at line 96 of file zEffector.h.
References zEffectorPoint().
00096 { return new zEffectorPoint(); };
void zEffectorPoint::operator= | ( | zEffectorPoint const & | other | ) | [inline] |
Definition at line 99 of file zEffector.h.
References zEffector::operator=().
00099 { this->zEffector::operator=(other); };
virtual zEffectorPoint* zEffectorPoint::copy | ( | void | ) | const [inline, virtual] |
overloaded assignment operator
Reimplemented from zEffector.
Definition at line 100 of file zEffector.h.
References zEffectorPoint().
00100 { return new zEffectorPoint(*this); };
void zEffectorPoint::setPoint | ( | int | p | ) | [inline] |
int zEffectorPoint::getPoint | ( | ) | const [inline] |
void zEffectorPoint::effect | ( | gVectorExtra< ePlayerNetID * > & | d_calculatedTargets | ) | [virtual] |
Reimplemented from zEffector.
Definition at line 117 of file zEffector.cpp.
References d_score, and zEffector::message.
00118 { 00119 gVectorExtra<ePlayerNetID *>::iterator iter; 00120 for(iter = d_calculatedTargets.begin(); 00121 iter != d_calculatedTargets.end(); 00122 ++iter) 00123 { 00124 // (*iter)->AddScore(d_score, tOutput(), "$player_lose_suicide"); 00125 (*iter)->AddScore(d_score, tOutput(), message); 00126 } 00127 }
int zEffectorPoint::d_score [protected] |