zEffectorWin Class Reference

#include <zEffector.h>

Inheritance diagram for zEffectorWin:

Inheritance graph
[legend]
Collaboration diagram for zEffectorWin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zEffectorWin ()
 zEffectorWin (zEffectorWin const &other)
void operator= (zEffectorWin const &other)
virtual zEffectorWincopy (void) const
 overloaded assignment operator
virtual ~zEffectorWin ()
virtual void effect (gVectorExtra< ePlayerNetID * > &d_calculatedTargets)

Static Public Member Functions

static zEffectorcreate ()


Detailed Description

Definition at line 67 of file zEffector.h.


Constructor & Destructor Documentation

zEffectorWin::zEffectorWin (  )  [inline]

Definition at line 71 of file zEffector.h.

Referenced by copy(), and create().

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

Here is the caller graph for this function:

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

Definition at line 72 of file zEffector.h.

00072 :zEffector(other) { };

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

Definition at line 75 of file zEffector.h.

00075 {};


Member Function Documentation

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

Reimplemented from zEffector.

Definition at line 70 of file zEffector.h.

References zEffectorWin().

00070 { return new zEffectorWin(); };

Here is the call graph for this function:

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

Definition at line 73 of file zEffector.h.

References zEffector::operator=().

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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 }

Here is the call graph for this function:


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