#include <toX.h>
Inheritance diagram for dmn::MatchToX:


Public Member Functions | |
| MatchToX (Points max_games) | |
| Constructor. | |
| bool | configure (Core *core) |
| Make all the configuration needed by the module (after have the id). | |
| bool | next_game (ID game, std::list< ID > *couples) |
| Couples for the next game. | |
| void | set_game_winner (ID game, ID couple_winner) |
| Notify the winner of a game. | |
| Points | points_to_win () |
| Returns the points that a team needs to do to win the match. | |
| void | score_board (std::list< Score > *score) |
| Score board of the match. | |
| ID | winner () |
| Winner of the match. | |
| bool | is_finished () |
| Check if the match is finished or not. | |
|
|
Constructor.
|
|
|
Make all the configuration needed by the module (after have the id).
Implements dmn::Match. |
|
|
Check if the match is finished or not.
Implements dmn::Match. |
|
||||||||||||
|
Couples for the next game.
Implements dmn::Match. |
|
|
Returns the points that a team needs to do to win the match.
Implements dmn::Match. |
|
|
Score board of the match. score must have space for the score board
Implements dmn::Match. |
|
||||||||||||
|
Notify the winner of a game.
Implements dmn::Match. |
|
|
Winner of the match.
Implements dmn::Match. |
1.3.4