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.
Diff: Ghost/Ghost.h
- Revision:
- 22:9065c457a45d
- Parent:
- 16:17f91f51358f
- Child:
- 25:31761087a83f
diff -r 85a6c01613d6 -r 9065c457a45d Ghost/Ghost.h --- a/Ghost/Ghost.h Sat Mar 28 14:49:55 2020 +0000 +++ b/Ghost/Ghost.h Sat Mar 28 14:56:39 2020 +0000 @@ -13,14 +13,6 @@ #include "Ghost.h" #include <string> -/** Ghost Class -* @brief Records the current position of the player so that it can be played back later during ghost mode. -* @brief The best race (so far) is copied to the SD card when the race is over. -* @brief Before each race, the previos best ghost data is read from the SD card to internal memory to allow the game to run faster. -* @author Henry W Triff -* @date Mar, 2020 -*/ - #ifndef STRUCTS #define STRUCTS @@ -84,6 +76,14 @@ enum cars {Basic, Offroad, Drifter, Sportscar, Racecar, Stupid}; #endif +/** Ghost Class +* @brief Records the current position of the player so that it can be played back later during ghost mode. +* @brief The best race (so far) is copied to the SD card when the race is over. +* @brief Before each race, the previos best ghost data is read from the SD card to internal memory to allow the game to run faster. +* @author Henry W Triff +* @date Mar, 2020 +*/ + class Ghost { public: