#include <zEffector.h>
Public Member Functions | |
zEffectorCycleBrake () | |
zEffectorCycleBrake (zEffectorCycleBrake const &other) | |
void | operator= (zEffectorCycleBrake const &other) |
virtual zEffectorCycleBrake * | copy (void) const |
overloaded assignment operator | |
virtual | ~zEffectorCycleBrake () |
virtual void | effect (gVectorExtra< ePlayerNetID * > &d_calculatedTargets) |
Static Public Member Functions | |
static zEffector * | create () |
Definition at line 124 of file zEffector.h.
zEffectorCycleBrake::zEffectorCycleBrake | ( | ) | [inline] |
Definition at line 128 of file zEffector.h.
Referenced by copy(), and create().
00128 :zEffector(){ }; //<! Constructor
zEffectorCycleBrake::zEffectorCycleBrake | ( | zEffectorCycleBrake const & | other | ) | [inline] |
virtual zEffectorCycleBrake::~zEffectorCycleBrake | ( | ) | [inline, virtual] |
static zEffector* zEffectorCycleBrake::create | ( | ) | [inline, static] |
Reimplemented from zEffector.
Definition at line 127 of file zEffector.h.
References zEffectorCycleBrake().
00127 { return new zEffectorCycleBrake(); };
void zEffectorCycleBrake::operator= | ( | zEffectorCycleBrake const & | other | ) | [inline] |
Definition at line 130 of file zEffector.h.
References zEffector::operator=().
00130 { this->zEffector::operator=(other); };
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); };
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 }