#include <CPlayer.hh>

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) |
Player class for client.
1.6.3