This is the description

Dependencies:   mbed Menu Joystick

Plane/Plane.h

Committer:
mrkang
Date:
2020-04-27
Revision:
0:59cbc5800eb6

File content as of revision 0:59cbc5800eb6:

#ifndef Plane_H
#define Plane_H
#include "mbed.h"
#include "N5110.h"
#include "Joystick.h"
#include "Bitmap.h"
#include "Sound.h"

class Plane{

public:
    Plane();
    ~Plane();
    void init(int x,int y,int sizeX,int sizeY);
    void draw(N5110 &lcd);
    void update(int d);
    Vector2D getPos();
private:
    int _x;
    int _y;
    int _sizeX;
    int _sizeY;
    int _speed;
};
#endif