메소드 | 설명 | |
---|---|---|
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. |
리턴 | void |
public CanAddPlayer ( int movesCount ) : bool | ||
movesCount | int | The amount of moves a player has. |
리턴 | bool |
public HighscoreTable ( List |
||
playerScores | List |
A list of player scores |
리턴 | System |