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