#include <MatchManager.h>
Inheritance diagram for CMatchManager:
Public Member Functions | |
CMatchManager () | |
CMatchManager. | |
~CMatchManager () | |
~CMatchManager | |
void | CollectParticipants (vector< CParticipant * > participants) |
CollectParticipants. | |
void | SetGameModule (CGameModule *gm) |
SetGameModule. | |
Protected Member Functions | |
uint32 | GetUniqueRoundNumber () |
GetUniqueRoundNumber. | |
uint32 | GetUniqueMatchNumber () |
GetUniqueMatchNumber. |
Description:
Limitations:
|
CMatchManager. Description: The constructor initializes internal class attributes.
|
|
~CMatchManager Description: Destructor frees any memory allocted by the MatchManager
|
|
CollectParticipants. Description: This function sets the list of participant that will be participanting in the tournament. This call will replace the previous participant list with the new one.
|
|
GetUniqueMatchNumber. Description: This function generates a unique number that can be used as a match number.
|
|
GetUniqueRoundNumber. Description: This function generates a unique number that can be used as a round number.
|
|
SetGameModule. Description: Sets the game module that the match manager should use.
|