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: Frogger/Frogger.h
- Revision:
- 56:2797166656e0
- Parent:
- 55:b17b9931c010
- Child:
- 57:a6eb3a0e92bc
--- a/Frogger/Frogger.h Tue May 26 19:54:05 2020 +0000 +++ b/Frogger/Frogger.h Tue May 26 20:51:56 2020 +0000 @@ -17,11 +17,17 @@ #include <cstddef> #include <vector> +/** Frogger Class + * + * @brief Frogger class that runs the entire game, in charge of lcd calls + * @brief moving objects, checking for collision etc. + * @author Tarek Bessalah + * @date May, 2020 + */ class Frogger { public: - //GraphicEngine *graphics; // local renderer object Frog *frog; // one frog object int grid; // size of one game unit @@ -232,10 +238,10 @@ void loopWater(); void moveWater(); - + void checkFrogInDeathZone(); void move(); void checkFrogOutOfBounds(); - + void displayIntro(); void setup(); void createGoalPost(); };