Jahanzeb Khan / Mbed 2 deprecated ELEC2645_Project_el19jak

Dependencies:   mbed

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