Faizan and Pages fun little game
Dependencies: 4DGL-uLCD-SE mbed SDFileSystem wave_player
Diff: food.h
- Revision:
- 0:de9ffb858be9
- Child:
- 1:9eeeb0d8f036
diff -r 000000000000 -r de9ffb858be9 food.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/food.h Fri Oct 28 17:33:29 2016 +0000 @@ -0,0 +1,25 @@ +#ifndef FOOD_H +#define FOOD_H + +class Food { +public: + Food(int); + void draw(); + bool isBad; + +private: + int typeOfFood; + int levelItLanded; // y value + void drawLettuce(int,int); + void drawTomato(int,int); + void drawCheese(int,int); + void drawSteak(int,int); + void drawBadLettuce(int,int); + void drawBadTomato(int,int); + void drawBadCheese(int,int); + void drawBadSteak(int,int); + void drawBread(int,int); + +}; + +#endif