![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: MenuClasses/Stats/Stats.h
- Revision:
- 91:ca8cff78f2fe
- Parent:
- 90:741120c09784
diff -r 741120c09784 -r ca8cff78f2fe MenuClasses/Stats/Stats.h --- a/MenuClasses/Stats/Stats.h Wed May 08 21:01:20 2019 +0000 +++ b/MenuClasses/Stats/Stats.h Wed May 08 21:29:06 2019 +0000 @@ -20,30 +20,34 @@ /** Destructor */ ~Stats(); - /** Gets pointers of lcd and pad from int main() to be used privately in the entire class.. - * @param pointer to the N5110 object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function. - * @param pointer to the gamepad object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function. + /** + * @brief Gets pointers of lcd and pad from int main() to be used privately in the entire class. + * @param N5110 *lcd @details pointer to the N5110 object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function. + * @param Gamepad *pad @details pointer to the gamepad object in main, address of this pointer is saved to make availability to the entire class, without passing address to each function. */ void init(N5110 *lcd, Gamepad *pad); - /** Used to display saved stats onto the screen.*/ + /** + * @brief Used to display saved stats onto the screen. + */ void StatsDisplay(); /** * @brief Used to write stats to the SD card. - * @param level is as the name implies, the current game level while playing. - * @param The SDFileSystem library + * @param level @details level is as the name implies, the current game level while playing. + * @param SDFileSystem &sd @details The SDFileSystem library. */ void write(int level, SDFileSystem &sd); - /** Used to read data from the file - * @param The SDFileSystem library + /** + * @brief Used to read data from the file + * @param SDFileSystem &sd @details The SDFileSystem library. */ void read(SDFileSystem &sd); /** Allows us to delete the file if required. * @brief not used in the working version but used when i need to delete data from the sd card. - * @param filename[] saves the name of the file we want to delete. + * @param filename[] @details saves the name of the file we want to delete. */ void delete_file(char filename[]);