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:
- jahanzebkhan
- Date:
- 2020-06-05
- Revision:
- 2:430dcf420840
File content as of revision 2:430dcf420840:
#ifndef FOOD_H #define FOOD_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Food { public: /** Constructor */ Food(); /** Destructor */ ~Food(); /** Initialises food object */ void init(); /** sets location of food */ void food_location(N5110 &lcd); /** All variables are public as need to be used by Body */ /** sets location of food */ int fo_x; int fo_y; /** changes location of food */ int chng_food; private: }; #endif