Constructor
new Scores()
Construct current player.
- Source:
Construct current player.
Classes
- Scores
- Construct current player.
Methods
addPlayer(playerName)
Adds new user into list (if not yet exists).
- Source:
Adds new user into list (if not yet exists).
Parameters:
Name | Type | Description |
---|---|---|
playerName |
string | Name of the player. |