#include <stupid.h>
Inheritance diagram for dmn::PlayerStupid:
Public Member Functions | |
PlayerStupid () | |
Constructor. | |
bool | configure (Core *core) |
Make all the configuration needed by the module (after have the id). | |
void | set_name (std::string name) |
Set the player's name. | |
std::string | name () |
Player's name. | |
bool | is_interactive () |
Check if the player is interactive or not. | |
void | set_shuffled_tile (Domino domino) |
Shuffle a tile to a player. | |
bool | domino_to_play (Domino *domino, HalfDomino *half) |
Domino played by the player (played by the module). | |
void | set_domino_played (ID id, Domino domino, HalfDomino half) |
Domino played by other player (no by the module). | |
void | set_player_pass (ID id, bool domino_shuffled) |
A player passes (haven't domino to play). |
He doesn't think what domino to play... only does it!
|
Make all the configuration needed by the module (after have the id).
Implements dmn::Player. |
|
Domino played by the player (played by the module).
Implements dmn::Player. |
|
Check if the player is interactive or not.
Implements dmn::Player. |
|
Player's name.
Implements dmn::Player. |
|
Domino played by other player (no by the module).
Implements dmn::Player. |
|
Set the player's name.
Implements dmn::Player. |
|
A player passes (haven't domino to play).
Implements dmn::Player. |
|
Shuffle a tile to a player.
Implements dmn::Player. |