zEffectorCycleBrake Class Reference

#include <zEffector.h>

Inheritance diagram for zEffectorCycleBrake:

Inheritance graph
[legend]
Collaboration diagram for zEffectorCycleBrake:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Public Member Functions

static zEffectorcreate ()


Detailed Description

Definition at line 124 of file zEffector.h.


Constructor & Destructor Documentation

zEffectorCycleBrake::zEffectorCycleBrake (  )  [inline]

Definition at line 128 of file zEffector.h.

Referenced by copy(), and create().

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

Here is the caller graph for this function:

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

Definition at line 129 of file zEffector.h.

00129 :zEffector(other) { };

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

Definition at line 132 of file zEffector.h.

00132 {};


Member Function Documentation

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

Reimplemented from zEffector.

Definition at line 127 of file zEffector.h.

References zEffectorCycleBrake().

00127 { return new zEffectorCycleBrake(); };

Here is the call graph for this function:

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

Definition at line 130 of file zEffector.h.

References zEffector::operator=().

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

Here is the call graph for this function:

virtual zEffectorCycleBrake* zEffectorCycleBrake::copy ( void   )  const [inline, virtual]

overloaded assignment operator

Reimplemented from zEffector.

Definition at line 131 of file zEffector.h.

References zEffectorCycleBrake().

00131 { return new zEffectorCycleBrake(*this); };

Here is the call graph for this function:

void zEffectorCycleBrake::effect ( gVectorExtra< ePlayerNetID * > &  d_calculatedTargets  )  [virtual]

Reimplemented from zEffector.

Definition at line 149 of file zEffector.cpp.

00150 {
00151     gVectorExtra<ePlayerNetID *>::iterator iter;
00152     for(iter = d_calculatedTargets.begin();
00153             iter != d_calculatedTargets.end();
00154             ++iter)
00155     {
00156         static_cast<gCycle *>((*iter)->Object())->SetBrakingReservoir(1.0);
00157     }
00158 }


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