Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: MenuClasses/Stats/Stats.cpp
- Revision:
- 62:ebf6ecf8a6d5
- Parent:
- 61:f3c402bc2ad0
- Child:
- 83:329da564799a
diff -r f3c402bc2ad0 -r ebf6ecf8a6d5 MenuClasses/Stats/Stats.cpp --- a/MenuClasses/Stats/Stats.cpp Tue Apr 30 08:32:30 2019 +0000 +++ b/MenuClasses/Stats/Stats.cpp Tue Apr 30 14:53:38 2019 +0000 @@ -2,18 +2,18 @@ Stats::Stats() { - + } Stats::~Stats() { - + } FILE *fp; // this is the file pointer //serial.baud(115200); // full-speed! - - + + void Stats::StatsDisplay(N5110 &lcd, Gamepad &pad) { lcd.clear(); @@ -51,7 +51,7 @@ else { _top_level = _stored_top_level; } - + if (fp == NULL) { // if it can't open the file then print error message //serial.printf("Error! Unable to open file!\n"); } else { // opened file so can write