library for SnekGame
Food.h
- Committer:
- Nefos
- Date:
- 2017-05-05
- Revision:
- 1:8d4639c9d1b0
- Parent:
- 0:337503f9282c
File content as of revision 1:8d4639c9d1b0:
#ifndef FOOD_H #define FOOD_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" //#include "Snake.h" /************************Structs************************/ struct posXY{ int x; int y; }; /************************Class Def************************/ class Food{ /************************Public Vars************************/ public: Food(); ~Food(); void init(); void draw(N5110 &lcd); void respawn(); posXY returnPos(); /************************Private Vars************************/ private: }; #endif