zEffectorSpawnPlayer Class Reference

#include <zEffector.h>

Inheritance diagram for zEffectorSpawnPlayer:

Inheritance graph
[legend]
Collaboration diagram for zEffectorSpawnPlayer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zEffectorSpawnPlayer ()
 zEffectorSpawnPlayer (zEffectorSpawnPlayer const &other)
void operator= (zEffectorSpawnPlayer const &other)
virtual zEffectorSpawnPlayercopy (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 zEffectorcreate ()

Protected Attributes

eGridgrid
gArenaarena


Detailed Description

Definition at line 156 of file zEffector.h.


Constructor & Destructor Documentation

zEffectorSpawnPlayer::zEffectorSpawnPlayer (  )  [inline]

Definition at line 160 of file zEffector.h.

Referenced by copy(), and create().

00160 :zEffector(){ }; //<! Constructor

Here is the caller graph for this function:

zEffectorSpawnPlayer::zEffectorSpawnPlayer ( zEffectorSpawnPlayer const &  other  )  [inline]

Definition at line 161 of file zEffector.h.

00161 :zEffector(other) { };

virtual zEffectorSpawnPlayer::~zEffectorSpawnPlayer (  )  [inline, virtual]

Definition at line 164 of file zEffector.h.

00164 {};


Member Function Documentation

static zEffector* zEffectorSpawnPlayer::create (  )  [inline, static]

Reimplemented from zEffector.

Definition at line 159 of file zEffector.h.

References zEffectorSpawnPlayer().

00159 { return new zEffectorSpawnPlayer(); };

Here is the call graph for this function:

void zEffectorSpawnPlayer::operator= ( zEffectorSpawnPlayer const &  other  )  [inline]

Definition at line 162 of file zEffector.h.

References zEffector::operator=().

00162 { this->zEffector::operator=(other); }; 

Here is the call graph for this function:

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); };

Here is the call graph for this function:

void zEffectorSpawnPlayer::setGrid ( eGrid _grid  )  [inline]

Definition at line 166 of file zEffector.h.

References grid.

00166 {grid = _grid;};

void zEffectorSpawnPlayer::setArena ( gArena _arena  )  [inline]

Definition at line 167 of file zEffector.h.

References arena.

00167 {arena = _arena;};

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 }

Here is the call graph for this function:


Member Data Documentation

eGrid* zEffectorSpawnPlayer::grid [protected]

Definition at line 171 of file zEffector.h.

Referenced by effect(), and setGrid().

gArena* zEffectorSpawnPlayer::arena [protected]

Definition at line 172 of file zEffector.h.

Referenced by effect(), and setArena().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:01:41 2008 for Armagetron Advanced by  doxygen 1.5.4