#include <uInput.h>
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 uActionPlayer * | Find (int globalID) |
Definition at line 88 of file uInput.h.
uActionPlayer::uActionPlayer | ( | const char * | name, | |
int | priority = 0 , |
|||
uInputType | t = uINPUT_DIGITAL | |||
) |
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.
bool uActionPlayer::operator== | ( | const uActionPlayer & | x | ) |
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;