zSelectorSelf Class Reference

#include <zSelector.h>

Inheritance diagram for zSelectorSelf:

Inheritance graph
[legend]
Collaboration diagram for zSelectorSelf:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zSelectorSelf ()
 zSelectorSelf (zSelectorSelf const &other)
void operator= (zSelectorSelf const &other)
 overloaded assignment operator
virtual zSelectorSelfcopy (void) const
virtual ~zSelectorSelf ()
gVectorExtra< ePlayerNetID * > select (gVectorExtra< nNetObjectID > &owners, gVectorExtra< nNetObjectID > &teamOwners, gCycle *triggerer)

Static Public Member Functions

static zSelectorcreate ()


Detailed Description

Definition at line 82 of file zSelector.h.


Constructor & Destructor Documentation

zSelectorSelf::zSelectorSelf (  ) 

Definition at line 113 of file zSelector.cpp.

Referenced by copy(), and create().

00113                             :
00114         zSelector()
00115 { }

Here is the caller graph for this function:

zSelectorSelf::zSelectorSelf ( zSelectorSelf const &  other  ) 

Definition at line 117 of file zSelector.cpp.

00117                                                       :
00118         zSelector(other)
00119 { }

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

Definition at line 90 of file zSelector.h.

00090 {};


Member Function Documentation

zSelector * zSelectorSelf::create (  )  [static]

Reimplemented from zSelector.

Definition at line 108 of file zSelector.cpp.

References zSelectorSelf().

00109 {
00110     return new zSelectorSelf();
00111 }

Here is the call graph for this function:

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 }

Here is the call graph for this function:

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 }

Here is the call graph for this function:

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 }

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:02:03 2008 for Armagetron Advanced by  doxygen 1.5.4