Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Highscore Class Reference
highscore Class More...
#include <Highscore.h>
Public Member Functions | |
| Highscore () | |
| Constructor. | |
| ~Highscore () | |
| Destructor. | |
| int | geths (SDFileSystem &sd) |
| Gets the current highscore. | |
| void | seths (SDFileSystem &sd, int x) |
| Set a new Highscore. | |
Detailed Description
highscore Class
reads and writes highscore
- Date:
- May 2020
Definition at line 15 of file Highscore.h.
Constructor & Destructor Documentation
| Highscore | ( | ) |
Constructor.
Definition at line 4 of file Highscore.cpp.
| ~Highscore | ( | ) |
Destructor.
Definition at line 9 of file Highscore.cpp.
Member Function Documentation
| int geths | ( | SDFileSystem & | sd ) |
Gets the current highscore.
- Parameters:
-
sd SD card object
- Returns:
- current_menu_part_
Definition at line 14 of file Highscore.cpp.
| void seths | ( | SDFileSystem & | sd, |
| int | x | ||
| ) |
Set a new Highscore.
- Parameters:
-
sd SD card object integer x
new high score
Definition at line 41 of file Highscore.cpp.
Generated on Tue Jul 12 2022 18:29:13 by
1.7.2