#include <player.h>
Inheritance diagram for dmn::Player:


Public Member Functions | |
| Player () | |
| Constructor. | |
| virtual | ~Player () |
| Destructor. | |
| virtual bool | configure (Core *core)=0 |
| Make all the configuration needed by the module (after have the id). | |
| virtual void | set_name (std::string name)=0 |
| Set the player's name. | |
| virtual std::string | name ()=0 |
| Player's name. | |
| virtual bool | is_interactive ()=0 |
| Check if the player is interactive or not. | |
| virtual void | set_shuffled_tile (Domino domino)=0 |
| Shuffle a tile to a player. | |
| virtual bool | domino_to_play (Domino *domino, HalfDomino *half)=0 |
| Domino played by the player (played by the module). | |
| virtual void | set_domino_played (ID id, Domino domino, HalfDomino half)=0 |
| Domino played by other player (no by the module). | |
| virtual void | set_player_pass (ID id, bool domino_shuffled)=0 |
| A player passes (haven't domino to play). | |
|
|
Make all the configuration needed by the module (after have the id).
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
|
||||||||||||
|
Domino played by the player (played by the module).
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
|
|
Check if the player is interactive or not.
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
|
|
Player's name.
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
|
||||||||||||||||
|
Domino played by other player (no by the module).
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
|
|
Set the player's name.
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
|
||||||||||||
|
A player passes (haven't domino to play).
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
|
|
Shuffle a tile to a player.
Implemented in dmn::PlayerQt, dmn::PlayerStupid, and dmn::PlayerText. |
1.3.4