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
Diff: Scores/Scores.h
- Revision:
- 17:cb39d9fa08dc
- Parent:
- 16:a2c945279b79
- Child:
- 18:165e3d49daa8
--- a/Scores/Scores.h Wed Apr 24 13:44:12 2019 +0000
+++ b/Scores/Scores.h Sat Apr 27 17:43:46 2019 +0000
@@ -11,21 +11,20 @@
public:
- Scores();
- ~Scores();
+ Scores();
+ ~Scores();
- float score_calculator(int turns, int health);
- void display_score(float current, N5110 &lcd);
- void display_top_scores(N5110 &lcd);
- void read_sd_scores();
- void write_sd_scores();
+ float score_calculator(int turns, int health);
+ void display_score(float current, N5110 &lcd);
+ void display_top_scores(N5110 &lcd);
+ void read_sd_scores();
+ void write_sd_scores();
private:
- void _add_to_top_scores(float new_score);
+ void _add_to_top_scores(float new_score);
- float _top_three[3];
-
+ float _top_three[3];
};
#endif // SCORES_H