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:
- 43:2cd1cfe07770
- Parent:
- 42:04e326dcf09b
- Child:
- 44:f02510eeb165
--- a/GraphicEngine/GraphicEngine.h Mon May 18 04:39:06 2020 +0000 +++ b/GraphicEngine/GraphicEngine.h Mon May 18 06:34:53 2020 +0000 @@ -3,6 +3,8 @@ #include "Frog.h" #include "Object.h" +#include "Vehicle.h" +#include "WaterSprites.h" #include "mbed.h" #include "N5110.h" @@ -19,8 +21,10 @@ } ObjectParam; public: + Frog *frog; GraphicEngine(); + GraphicEngine(Frog *frogptr); public: N5110 lcd; @@ -48,13 +52,13 @@ void print(); - void showIndividualCar(Car *car); - void displayCar(DrawCar &size); void drawGoalPost(); //draws the chicken to the LCD screen - void showFrog(Frog &frog); + void showFrog(float x, int y, int width, int height); + void drawGoal(int x, int row); + //draws an individual car to the screen void showObj(Object &obj);