uActionPlayer Class Reference

#include <uInput.h>

Inheritance diagram for uActionPlayer:

Inheritance graph
[legend]
Collaboration diagram for uActionPlayer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 uActionPlayer (const char *name, int priority=0, uInputType t=uINPUT_DIGITAL)
 uActionPlayer (const char *name, const tOutput &desc, const tOutput &help, int priority=0, uInputType t=uINPUT_DIGITAL)
virtual ~uActionPlayer ()
bool operator== (const uActionPlayer &x)

Static Public Member Functions

static uActionPlayerFind (int globalID)


Detailed Description

Definition at line 88 of file uInput.h.


Constructor & Destructor Documentation

uActionPlayer::uActionPlayer ( const char *  name,
int  priority = 0,
uInputType  t = uINPUT_DIGITAL 
)

Definition at line 357 of file uInput.cpp.

00361     :uAction(s_playerActions,name,priority,t){}

uActionPlayer::uActionPlayer ( const char *  name,
const tOutput desc,
const tOutput help,
int  priority = 0,
uInputType  t = uINPUT_DIGITAL 
)

Definition at line 362 of file uInput.cpp.

00368         :uAction(s_playerActions,name,desc,help,priority,t){}

uActionPlayer::~uActionPlayer (  )  [virtual]

Definition at line 369 of file uInput.cpp.


Member Function Documentation

bool uActionPlayer::operator== ( const uActionPlayer x  ) 

Definition at line 371 of file uInput.cpp.

References uAction::globalID.

00372                                                     {
00373     return x.globalID == globalID;

uActionPlayer * uActionPlayer::Find ( int  globalID  )  [static]

Definition at line 375 of file uInput.cpp.

References uAction::ID(), and NULL.

Referenced by eNetGameObject::ReceiveControlNet().

00376                                         {
00377     uAction *run = s_playerActions;
00378 
00379     while (run){
00380         if (run->ID() == id)
00381             return static_cast<uActionPlayer*>(run);
00382     }
00383 
00384     return NULL;

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:59:53 2008 for Armagetron Advanced by  doxygen 1.5.4