#include <CScores.h>

Public Member Functions | |
| CScores () | |
| ~CScores () | |
| void | SetOptions (COptions *pOptions) |
| Set link to the options object to use. | |
| void | Reset (void) |
| Reset the scores to zero. | |
| void | RaisePlayerScore (int Player) |
| Add one to the score of the specified player. | |
| void | RaiseDrawGamesCount (void) |
| Add one to the draw games count. | |
| int | GetPlayerScore (int Player) |
| Get the score of a player. | |
| int | GetDrawGamesCount (void) |
| Get how many draw games there were. | |
Private Attributes | |
| COptions * | m_pOptions |
| Link to the options object to use. | |
| int | m_Scores [MAX_PLAYERS] |
| Score of each player. | |
| int | m_DrawGamesCount |
| Number of draw games. | |
| CScores::CScores | ( | void | ) |

| CScores::~CScores | ( | void | ) |
| void CScores::SetOptions | ( | COptions * | pOptions | ) | [inline] |
Set link to the options object to use.

| void CScores::Reset | ( | void | ) |
Reset the scores to zero.

| void CScores::RaisePlayerScore | ( | int | Player | ) |
Add one to the score of the specified player.


| void CScores::RaiseDrawGamesCount | ( | void | ) |
Add one to the draw games count.

| int CScores::GetPlayerScore | ( | int | Player | ) | [inline] |
Get the score of a player.

| int CScores::GetDrawGamesCount | ( | void | ) | [inline] |
Get how many draw games there were.

COptions* CScores::m_pOptions [private] |
Link to the options object to use.
int CScores::m_Scores[MAX_PLAYERS] [private] |
Score of each player.
int CScores::m_DrawGamesCount [private] |
Number of draw games.
1.5.5