#include <zSelector.h>
Public Member Functions | |
zSelectorSelf () | |
zSelectorSelf (zSelectorSelf const &other) | |
void | operator= (zSelectorSelf const &other) |
overloaded assignment operator | |
virtual zSelectorSelf * | copy (void) const |
virtual | ~zSelectorSelf () |
gVectorExtra< ePlayerNetID * > | select (gVectorExtra< nNetObjectID > &owners, gVectorExtra< nNetObjectID > &teamOwners, gCycle *triggerer) |
Static Public Member Functions | |
static zSelector * | create () |
Definition at line 82 of file zSelector.h.
zSelectorSelf::zSelectorSelf | ( | ) |
Definition at line 113 of file zSelector.cpp.
Referenced by copy(), and create().
00113 : 00114 zSelector() 00115 { }
zSelectorSelf::zSelectorSelf | ( | zSelectorSelf const & | other | ) |
virtual zSelectorSelf::~zSelectorSelf | ( | ) | [inline, virtual] |
zSelector * zSelectorSelf::create | ( | ) | [static] |
Reimplemented from zSelector.
Definition at line 108 of file zSelector.cpp.
References zSelectorSelf().
00109 { 00110 return new zSelectorSelf(); 00111 }
void zSelectorSelf::operator= | ( | zSelectorSelf const & | other | ) |
overloaded assignment operator
Definition at line 121 of file zSelector.cpp.
References zSelector::operator=().
00122 { 00123 this->zSelector::operator=(other); 00124 }
zSelectorSelf * zSelectorSelf::copy | ( | void | ) | const [virtual] |
Reimplemented from zSelector.
Definition at line 126 of file zSelector.cpp.
References zSelectorSelf().
00127 { 00128 return new zSelectorSelf(*this); 00129 }
gVectorExtra< ePlayerNetID * > zSelectorSelf::select | ( | gVectorExtra< nNetObjectID > & | owners, | |
gVectorExtra< nNetObjectID > & | teamOwners, | |||
gCycle * | triggerer | |||
) | [virtual] |
Reimplemented from zSelector.
Definition at line 131 of file zSelector.cpp.
References eNetGameObject::Player().
00132 { 00133 gVectorExtra<ePlayerNetID *> self; 00134 ePlayerNetID* triggererPlayer = triggerer->Player(); 00135 if (triggererPlayer != 0) 00136 self.push_back( triggererPlayer ); 00137 00138 return self; 00139 }