This is the description

Dependencies:   mbed Menu Joystick

Bullet/Bullet.h

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

File content as of revision 0:59cbc5800eb6:

#ifndef BULLET_H
#define BULLET_H
#include "mbed.h"
#include "N5110.h"
#include "Joystick.h"
#include "Bitmap.h"

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