The Flock  0.00.001
Public Member Functions | Properties | List of all members
ScoreSystem Class Reference

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...
 

Detailed Description

Score system, which contains the score of one player.

Constructor & Destructor Documentation

ScoreSystem.ScoreSystem ( int  maxScore)

Initializes a new instance of the ScoreSystem class.

Parameters
maxScoreMax score.

Member Function Documentation

void ScoreSystem.addScore ( int  value)

Adds the score.

Parameters
valueValue.
void ScoreSystem.reset ( )

Reset the score to zero.

Property Documentation

int ScoreSystem.getMaxScore
get

Gets the max score.

The get max score.

int ScoreSystem.getScore
get

Gets the score.

The get score.


The documentation for this class was generated from the following file: