ELEC2645 (2017/18) / Mbed 2 deprecated ll13jrm

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