#include <game.h>
Inheritance diagram for dmn::Game:


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