Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Food/Food.h
- Committer:
- VivianDu
- Date:
- 2019-05-05
- Revision:
- 0:bc1d36f5f772
- Child:
- 2:b891a5841ee2
File content as of revision 0:bc1d36f5f772:
#ifndef FOOD_H #define FOOD_H #include <math.h> #include <stdlib.h> #include "Gamepad.h" #include "mbed.h" #include "N5110.h" //libraries including struct pos{ int x; int y; }; //define position of food class Food{ public: Food(); ~Food(); void init(); void draw(N5110 &lcd); void response(); pos returnPos(); private: };//define functions #endif