Method | Description | |
---|---|---|
AddPlayer ( PlayerScore score ) : void |
Adds a player to a HighscoreTable.
|
|
CanAddPlayer ( int movesCount ) : bool |
Checks if a player can be added to a HighscoreTable.
|
|
HighscoreTable ( List |
Initializes a new instance of the HighscoreTable class.
|
public AddPlayer ( PlayerScore score ) : void | ||
score | PlayerScore | An instance of a class that implements the PlayerScore interface. |
return | void |
public CanAddPlayer ( int movesCount ) : bool | ||
movesCount | int | The amount of moves a player has. |
return | bool |
public HighscoreTable ( List |
||
playerScores | List |
A list of player scores |
return | System |