ELEC2645 (2016/17) / Mbed 2 deprecated Bomb_WeixiTao_el16wt

Dependencies:   mbed

Human/human.h

Committer:
weixitao
Date:
2017-05-05
Revision:
4:402c27b212c1
Parent:
3:dd4678a85a1a

File content as of revision 4:402c27b212c1:

#ifndef HUMAN_H
#define HUMAN_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
/**
@brief human class for Bomb. Produce a human and it can move by joystick
@author Weixi Tao
@date 2 May 2017
*/
class human
{
    public :
    
    /** Print human *
* Prints a human to the screen buffer. String is cut-off after the 83rd pixel.
* @param humanX - the column number of human which is 3
* @param humanY - the row number of human which is 6 */
    void print_human();
    double humanX();
    double humanY();
    
    private:
    
    int x;
    int y;


};
   
   
#endif