Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Position/Position.h

Committer:
evanso
Date:
2020-05-13
Revision:
27:8bb2bd97c319
Child:
28:a5958497d5ce

File content as of revision 27:8bb2bd97c319:

#ifndef POSITION_H
#define POSITION_H

// Included libraries ----------------------------------------------------------
#include "mbed.h"

/** Position class
* @brief Postition perant class
* @author Benjamin Evans, University of Leeds
* @date May 2020
*/         
class Position {
    public:
        
    protected:   
       
    // Varibles ---------------------------------------------------------------- 
        
        /** x position on lcd */
        int position_x_; 
        
        /** y position on lcd */     
        int position_y_; 
        
        /** Movement direction true = East, false = West */
        bool direction_; 
};
 
#endif