Faizan and Pages fun little game

Dependencies:   4DGL-uLCD-SE mbed SDFileSystem wave_player

food.h

Committer:
kswanson31
Date:
2016-10-31
Revision:
18:2e42ec5e2311
Parent:
3:058e10b8ecf6

File content as of revision 18:2e42ec5e2311:

#ifndef FOOD_H
#define FOOD_H

#include "uLCD_4DGL.h"

#define MAROON 0x8b0000
#define DARKBROWN 0x654321
#define YELLOW 0xffff00
#define PURPLE 0x551a8b
#define BROWN 0xf4a460

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

private:
  uLCD_4DGL * lcd;
  void drawLettuce(int);
  void drawTomato(int);
  void drawCheese(int);
  void drawBread();
  
};

#endif