The Flock
0.00.001
|
Score system, which contains the score of one player. More...
Public Member Functions | |
ScoreSystem (int maxScore) | |
Initializes a new instance of the ScoreSystem class. More... | |
void | addScore (int value) |
Adds the score. More... | |
void | reset () |
Reset the score to zero. More... | |
Properties | |
int | getScore [get] |
Gets the score. More... | |
int | getMaxScore [get] |
Gets the max score. More... | |
Score system, which contains the score of one player.
ScoreSystem.ScoreSystem | ( | int | maxScore) |
Initializes a new instance of the ScoreSystem class.
maxScore | Max score. |
void ScoreSystem.addScore | ( | int | value) |
Adds the score.
value | Value. |
void ScoreSystem.reset | ( | ) |
Reset the score to zero.
|
get |
Gets the max score.
The get max score.
|
get |
Gets the score.
The get score.