#include <zEffector.h>
Public Member Functions | |
zEffectorSpawnPlayer () | |
zEffectorSpawnPlayer (zEffectorSpawnPlayer const &other) | |
void | operator= (zEffectorSpawnPlayer const &other) |
virtual zEffectorSpawnPlayer * | copy (void) const |
overloaded assignment operator | |
virtual | ~zEffectorSpawnPlayer () |
void | setGrid (eGrid *_grid) |
void | setArena (gArena *_arena) |
virtual void | effect (gVectorExtra< ePlayerNetID * > &d_calculatedTargets) |
Static Public Member Functions | |
static zEffector * | create () |
Protected Attributes | |
eGrid * | grid |
gArena * | arena |
Definition at line 156 of file zEffector.h.
zEffectorSpawnPlayer::zEffectorSpawnPlayer | ( | ) | [inline] |
Definition at line 160 of file zEffector.h.
Referenced by copy(), and create().
00160 :zEffector(){ }; //<! Constructor
zEffectorSpawnPlayer::zEffectorSpawnPlayer | ( | zEffectorSpawnPlayer const & | other | ) | [inline] |
virtual zEffectorSpawnPlayer::~zEffectorSpawnPlayer | ( | ) | [inline, virtual] |
static zEffector* zEffectorSpawnPlayer::create | ( | ) | [inline, static] |
Reimplemented from zEffector.
Definition at line 159 of file zEffector.h.
References zEffectorSpawnPlayer().
00159 { return new zEffectorSpawnPlayer(); };
void zEffectorSpawnPlayer::operator= | ( | zEffectorSpawnPlayer const & | other | ) | [inline] |
Definition at line 162 of file zEffector.h.
References zEffector::operator=().
00162 { this->zEffector::operator=(other); };
virtual zEffectorSpawnPlayer* zEffectorSpawnPlayer::copy | ( | void | ) | const [inline, virtual] |
overloaded assignment operator
Reimplemented from zEffector.
Definition at line 163 of file zEffector.h.
References zEffectorSpawnPlayer().
00163 { return new zEffectorSpawnPlayer(*this); };
void zEffectorSpawnPlayer::setGrid | ( | eGrid * | _grid | ) | [inline] |
void zEffectorSpawnPlayer::setArena | ( | gArena * | _arena | ) | [inline] |
void zEffectorSpawnPlayer::effect | ( | gVectorExtra< ePlayerNetID * > & | d_calculatedTargets | ) | [virtual] |
Reimplemented from zEffector.
Definition at line 179 of file zEffector.cpp.
References arena, grid, and sg_RespawnPlayer().
00180 { 00181 gVectorExtra<ePlayerNetID *>::iterator iter; 00182 for(iter = d_calculatedTargets.begin(); 00183 iter != d_calculatedTargets.end(); 00184 ++iter) 00185 { 00186 sg_RespawnPlayer(grid, arena, (*iter)); 00187 } 00188 }
eGrid* zEffectorSpawnPlayer::grid [protected] |
gArena* zEffectorSpawnPlayer::arena [protected] |