Snake game food library
Diff: Food.h
- Revision:
- 0:337503f9282c
- Child:
- 1:8d4639c9d1b0
diff -r 000000000000 -r 337503f9282c Food.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Food.h Fri May 05 11:55:49 2017 +0000 @@ -0,0 +1,41 @@ +#ifndef FOOD_H +#define FOOD_H + + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +//#include "Snake.h" +struct posXY{ + int x; + int y; + + }; +class Food +{ + + + + public: + + Food(); + ~Food(); + void init(); + void draw(); + void respawn(); + + + private: + + + + +}; + + + + + + + +#endif \ No newline at end of file