Faizan and Pages fun little game

Dependencies:   4DGL-uLCD-SE mbed SDFileSystem wave_player

food.h

Committer:
fkhan39
Date:
2016-10-31
Revision:
2:4c5f409d6bb8
Parent:
1:9eeeb0d8f036
Child:
3:058e10b8ecf6

File content as of revision 2:4c5f409d6bb8:

#ifndef FOOD_H
#define FOOD_H

#include "uLCD_4DGL.h"


class Food {
public:
  Food(uLCD_4DGL*);
  Food(int,int,uLCD_4DGL*);
  void draw();
  bool isBad;
  void erase();
  void fall();
  int y;

private:
  int typeOfFood;
  int levelItLanded; // y value
  int x;
  
  uLCD_4DGL * lcd;
  void drawLettuce(int);
  void drawTomato(int);
  void drawCheese(int);
  void drawBread();
  
};

#endif