Faizan and Pages fun little game
Dependencies: 4DGL-uLCD-SE mbed SDFileSystem wave_player
Diff: food.h
- Revision:
- 2:4c5f409d6bb8
- Parent:
- 1:9eeeb0d8f036
- Child:
- 3:058e10b8ecf6
--- a/food.h Sat Oct 29 19:35:46 2016 +0000 +++ b/food.h Mon Oct 31 00:59:12 2016 +0000 @@ -3,19 +3,22 @@ #include "uLCD_4DGL.h" + class Food { public: + Food(uLCD_4DGL*); Food(int,int,uLCD_4DGL*); void draw(); bool isBad; - void setID(int); + void erase(); + void fall(); + int y; private: int typeOfFood; int levelItLanded; // y value int x; - int y; - int id; + uLCD_4DGL * lcd; void drawLettuce(int); void drawTomato(int);