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.
Dependencies: mbed
Food/Food.h
- Committer:
- JRM1986
- Date:
- 2018-03-06
- Revision:
- 3:50f01159c61d
- Parent:
- 2:ea90cec2489a
- Child:
- 4:a9634970d33e
File content as of revision 3:50f01159c61d:
#ifndef FOOD_H #define FOOD_H #include "mbed.h" #include "FXOS8700CQ.h" #include "Gamepad.h" #include "N5110.h" struct Position { int x; int y; }; /** Food Class * @brief Describes the methods and functions for the food * @author Joshua R. Marshall * @date Feb, 2018 */ class Food { public: Food(); // constructor ~Food(); // destructor Position get_position(); void set_postion(Position p); private: int _x; int _y; }; #endif