#include <zEffector.h>
Public Member Functions | |
zEffectorWin () | |
zEffectorWin (zEffectorWin const &other) | |
void | operator= (zEffectorWin const &other) |
virtual zEffectorWin * | copy (void) const |
overloaded assignment operator | |
virtual | ~zEffectorWin () |
virtual void | effect (gVectorExtra< ePlayerNetID * > &d_calculatedTargets) |
Static Public Member Functions | |
static zEffector * | create () |
Definition at line 67 of file zEffector.h.
zEffectorWin::zEffectorWin | ( | ) | [inline] |
Definition at line 71 of file zEffector.h.
Referenced by copy(), and create().
00071 :zEffector(){ }; //<! Constructor
zEffectorWin::zEffectorWin | ( | zEffectorWin const & | other | ) | [inline] |
virtual zEffectorWin::~zEffectorWin | ( | ) | [inline, virtual] |
static zEffector* zEffectorWin::create | ( | ) | [inline, static] |
Reimplemented from zEffector.
Definition at line 70 of file zEffector.h.
References zEffectorWin().
00070 { return new zEffectorWin(); };
void zEffectorWin::operator= | ( | zEffectorWin const & | other | ) | [inline] |
Definition at line 73 of file zEffector.h.
References zEffector::operator=().
00073 { this->zEffector::operator=(other); };
virtual zEffectorWin* zEffectorWin::copy | ( | void | ) | const [inline, virtual] |
overloaded assignment operator
Reimplemented from zEffector.
Definition at line 74 of file zEffector.h.
References zEffectorWin().
00074 { return new zEffectorWin(*this); };
void zEffectorWin::effect | ( | gVectorExtra< ePlayerNetID * > & | d_calculatedTargets | ) | [virtual] |
Reimplemented from zEffector.
Definition at line 87 of file zEffector.cpp.
References zEffector::message, and sg_DeclareWinner().
00088 { 00089 // BOP 00090 static const char* message="$player_win_instant"; 00091 // EOP 00092 00093 gVectorExtra<ePlayerNetID *>::iterator iter; 00094 for(iter = d_calculatedTargets.begin(); 00095 iter != d_calculatedTargets.end(); 00096 ++iter) 00097 { 00098 sg_DeclareWinner((*iter)->CurrentTeam(), message ); 00099 } 00100 }