Defines a class that holds and displays High Scores. More...
#include <Game/HighScores.h>
Public Member Functions | |
| HighScores (const GameSettings &settings) | |
| Constructor. | |
| ~HighScores () | |
| Deconstructor. | |
| void | LoadScoresFromFile (const char *file) |
| Loads high scores from a file. | |
| void | SaveScoresToFile (const char *file) const |
| Saves the high scores to a file. | |
| void | ClearHighScores () |
| Clears all of the high scores. | |
| bool | IsHighScore (uint score) const |
| Returns true if the given score is a high score. | |
| void | AddHighScore (const char *name, uint score) |
| Adds a new high score. | |
| void | ResetHighlighting () |
| Clears highlighting of newly added high scores. | |
| void | Draw () |
| Draws the high scores. | |
Defines a class that holds and displays High Scores.
1.6.3