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: GraphicEngine/GraphicEngine.h
- Revision:
- 44:f02510eeb165
- Parent:
- 43:2cd1cfe07770
- Child:
- 47:29c4796a49e5
--- a/GraphicEngine/GraphicEngine.h Mon May 18 06:34:53 2020 +0000 +++ b/GraphicEngine/GraphicEngine.h Fri May 22 06:37:50 2020 +0000 @@ -5,6 +5,8 @@ #include "Object.h" #include "Vehicle.h" #include "WaterSprites.h" +#include "Background.h" +#include "Frogger.h" #include "mbed.h" #include "N5110.h" @@ -21,10 +23,10 @@ } ObjectParam; public: - Frog *frog; + //Frog *frog; + //GraphicEngine(); + GraphicEngine(); - GraphicEngine(); - GraphicEngine(Frog *frogptr); public: N5110 lcd; @@ -46,12 +48,10 @@ // turn on backlight of lcd void backLightOn(); - void printTest(); void printLoser(); void print(); - void drawGoalPost(); //draws the chicken to the LCD screen @@ -60,7 +60,8 @@ void drawGoal(int x, int row); //draws an individual car to the screen - void showObj(Object &obj); + void showObj(Object *obj); + void displayLog(int x, int y, char c); void displayVehicle(int x, int y, char c);