publish my project

Dependencies:   mbed

Me/Me.h

Committer:
dongyuhu
Date:
2020-04-27
Revision:
0:9e95a5ef2659
Child:
2:7d45920b427f

File content as of revision 0:9e95a5ef2659:

#ifndef ME_H
#define ME_H


#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
                       //head file referenced from ball.h
class Me
{
public:

    Me();
    ~Me();
    void init(int x,int y,int height,int width);
    void draw(N5110 &lcd);
    void update(Direction d);
    Vector2D get_pos();

private:

    int _height;    //3   The colltroller is 3 by 3
    int _width;     //3         
    int _x;    
    int _y;
    int _speed;

};
#endif