#include <zEffectGroup.h>

Public Member Functions | |
| zEffectGroup () | |
| zEffectGroup (gVectorExtra< nNetObjectID > const owners, gVectorExtra< nNetObjectID > const teamOwners) | |
| zEffectGroup (zEffectGroup const &other) | |
| ~zEffectGroup () | |
| void | operator= (zEffectGroup const &other) |
| void | addValidator (zValidatorPtr _validator) |
| bool | isValidUser (gCycle *possibleUser) |
| gVectorExtra< ePlayerNetID * > | getCalculatedTarget (gCycle *triggerer) |
| void | apply (Triggerer target, REAL &time, const tPolynomial< nMessage > &tp) |
| reacts on objects interacting with the zone | |
| gCycle * | cb_PossibleUser (void) |
| Gets the used rubber for the currently watched cycle. | |
| gVectorExtra< nNetObjectID > | cb_Owners (void) |
| gVectorExtra< nNetObjectID > | cb_TeamOwners (void) |
| gVectorExtra< ePlayerNetID * > | cb_Targets (void) |
Protected Attributes | |
| std::vector< zValidatorPtr > | validators |
| gVectorExtra< nNetObjectID > | d_owners |
| gVectorExtra< nNetObjectID > | d_teamOwners |
| gVectorExtra< ePlayerNetID * > | d_calculatedTargets |
Definition at line 41 of file zEffectGroup.h.
| zEffectGroup::zEffectGroup | ( | ) |
| zEffectGroup::zEffectGroup | ( | gVectorExtra< nNetObjectID > const | owners, | |
| gVectorExtra< nNetObjectID > const | teamOwners | |||
| ) |
Definition at line 30 of file zEffectGroup.cpp.
00030 : 00031 validators(), 00032 // monitorInfluences(), 00033 // zoneInfluences(), 00034 d_owners(owners), 00035 d_teamOwners(teamOwners), 00036 d_calculatedTargets() 00037 { }
| zEffectGroup::zEffectGroup | ( | zEffectGroup const & | other | ) |
Definition at line 39 of file zEffectGroup.cpp.
00039 : 00040 validators(other.validators), 00041 // monitorInfluences(other.monitorInfluences), 00042 // zoneInfluences(other.zoneInfluences), 00043 d_owners(other.d_owners), 00044 d_teamOwners(other.d_teamOwners), 00045 d_calculatedTargets(other.d_calculatedTargets) 00046 { }
| zEffectGroup::~zEffectGroup | ( | ) |
| void zEffectGroup::operator= | ( | zEffectGroup const & | other | ) |
Definition at line 51 of file zEffectGroup.cpp.
References d_calculatedTargets, d_owners, d_teamOwners, and validators.
00052 { 00053 if (this != &other) { 00054 validators = other.validators; 00055 d_owners = other.d_owners; 00056 d_teamOwners = other.d_teamOwners; 00057 d_calculatedTargets = other.d_calculatedTargets; 00058 } 00059 }
| void zEffectGroup::addValidator | ( | zValidatorPtr | _validator | ) | [inline] |
Definition at line 50 of file zEffectGroup.h.
References validators.
00050 { 00051 validators.push_back( _validator ); 00052 };
| bool zEffectGroup::isValidUser | ( | gCycle * | possibleUser | ) |
| gVectorExtra<ePlayerNetID *> zEffectGroup::getCalculatedTarget | ( | gCycle * | triggerer | ) |
| void zEffectGroup::apply | ( | Triggerer | target, | |
| REAL & | time, | |||
| const tPolynomial< nMessage > & | tp | |||
| ) |
reacts on objects interacting with the zone
Definition at line 61 of file zEffectGroup.cpp.
References d_owners, d_teamOwners, and validators.
00062 { 00063 std::vector<zValidatorPtr>::const_iterator iter; 00064 for (iter=validators.begin(); 00065 iter!=validators.end(); 00066 ++iter) 00067 { 00068 (*iter)->validate(d_owners, d_teamOwners, possibleUser, tp); 00069 } 00070 }
| gCycle* zEffectGroup::cb_PossibleUser | ( | void | ) |
Gets the used rubber for the currently watched cycle.
| gVectorExtra< nNetObjectID > zEffectGroup::cb_Owners | ( | void | ) |
| gVectorExtra< nNetObjectID > zEffectGroup::cb_TeamOwners | ( | void | ) |
| gVectorExtra<ePlayerNetID *> zEffectGroup::cb_Targets | ( | void | ) |
std::vector<zValidatorPtr> zEffectGroup::validators [protected] |
Definition at line 66 of file zEffectGroup.h.
Referenced by addValidator(), apply(), and operator=().
gVectorExtra< nNetObjectID > zEffectGroup::d_owners [protected] |
gVectorExtra< nNetObjectID > zEffectGroup::d_teamOwners [protected] |
gVectorExtra<ePlayerNetID *> zEffectGroup::d_calculatedTargets [protected] |
1.5.4