CPlayer Class Reference
[Client API]

#include <CPlayer.hh>

Inheritance diagram for CPlayer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CPlayer (CRules *r, const MsgPlayerCreate *m)
int declareAction (enum eDeclaredAction action)
 Declare an action for the player.
int move (const Position &to)
 Move the player on the field.
int standUp ()
 Stand up the player.
int block (CPlayer *opponent)
 Block the player at the specified position.
int pass (const Position &to)
 Block the player at the specified position.
void setPosition (const Position &pos)
 Set the player position.
void subMa (int dep)
 Substract dep to ma_remain_.
int getPlayerPosition () const
 Graphic info (x-shift of player in the picture).
const std::string & getPlayerPicture () const
 Graphic info.
void msgDeclareAction (const MsgDeclare *m)
void msgPlayerPos (const MsgPlayerPos *m)
void msgPlayerMove (const MsgMove *m)
void msgBlock (const MsgBlock *m)
void msgPlayerKnocked (const MsgPlayerKnocked *m)
void msgPlayerStatus (const MsgPlayerStatus *m)
void msgPlayerKO (const MsgPlayerKO *m)
void msgSkill (const MsgSkill *m)

Detailed Description

Player class for client.


The documentation for this class was generated from the following files:
Generated on Sat Jun 23 16:10:06 2007 for Stechec/TBT by  doxygen 1.4.7