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 beginAction (enum eAction action)
 Begin an action for the player.
int move (const Coordinates &to)
 Move the player on the field.
int standUp ()
 Stand up the player.
int block (CPlayer *opponent)
 Block the player at the specified coordinates.
int foul (CPlayer *opponent)
 Foul the player at the specified coordinates.
int handoff (const CPlayer *target)
 Hand the ball off to an adjacent standing player.
int pass (const Coordinates &to)
 Pass the ball to the player at the specified coordinates.
void setCoordinates (const Coordinates &coord)
 Set the player coordinates.
int getPlayerShift () const
 Graphic info (x-shift of player in the picture).
const std::string & getPlayerPicture () const
 Graphic info.
void msgPlayerCoord (const MsgPlayerCoord *m)
void msgPlayerMove (const MsgMove *m)
void msgStandUp (const MsgStandUp *m)
void msgBlock (const MsgBlock *m)
void msgFoul (const MsgFoul *m)
void msgHandOff (const MsgHandOff *m)
void msgPass (const MsgPass *m)
void msgPlayerKnocked (const MsgPlayerKnocked *m)
void msgPlayerMaRemain (const MsgPlayerMaRemain *m)
void msgPlayerStatus (const MsgPlayerStatus *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 Mon Apr 5 21:17:31 2010 for Stechec/TBT by  doxygen 1.6.3