#include <toX.h>
Inheritance diagram for dmn::GameToX:
Public Member Functions | |
GameToX (Points max_points) | |
Constructor. | |
bool | configure (Core *core) |
Make all the configuration needed by the module (after have the id). | |
bool | next_hand (ID hand, std::list< ID > *players) |
Players for the next hand. | |
bool | is_first_hand (ID hand) |
Check if the identificator is the first hand of this game. | |
void | set_hand_winner (ID hand, ID couple, Points points) |
Notify the winner of a hand. | |
Points | points_to_win () |
Returns the points that a player/couple must to do to win the game. | |
void | score_board (std::list< Score > *score) |
Score board of the game. | |
ID | next_turn () |
Player who starts the hand. | |
ID | winner () |
Winner of the game. | |
bool | is_finished () |
Check if the game is finished or not. |
|
Constructor.
|
|
Make all the configuration needed by the module (after have the id).
Implements dmn::Game. |
|
Check if the game is finished or not.
Implements dmn::Game. |
|
Check if the identificator is the first hand of this game.
Implements dmn::Game. |
|
Players for the next hand.
Implements dmn::Game. |
|
Player who starts the hand.
Implements dmn::Game. |
|
Returns the points that a player/couple must to do to win the game.
Implements dmn::Game. |
|
Score board of the game.
Implements dmn::Game. |
|
Notify the winner of a hand.
Implements dmn::Game. |
|
Winner of the game.
Implements dmn::Game. |