#include <CPlayer.hh>
Inheritance diagram for CPlayer:

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) |
1.4.7