Constructor
new CurrentPlayer(playerName)
Initalize a Player as current.
- Source:
Initalize a Player as current.
Parameters:
Name | Type | Description |
---|---|---|
playerName |
string | Name of the player. |
Classes
- CurrentPlayer
- Initalize a Player as current.
Methods
addScore(level, lastScore)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
level |
string | Passed lavel matrix. |
lastScore |
string | Time elapsed for it. |
table() → {string}
Prepares table.
- Source:
- Deprecated:
- Score table needs to be new consepted, which can be used for external settings panel.
Prepares table.
Returns:
Formatted table for the scores of currentPlayer.
- Type
- string