Reham Faqehi / Mbed 2 deprecated fy15raf

Dependencies:   mbed

Fork of fy15raf by ELEC2645 (2017/18)

Asteroids/Asteroid.h

Committer:
RehamFaqehi
Date:
2018-04-24
Revision:
8:13cef7cb872e
Parent:
6:7b733b2a6cf6
Child:
15:658f1216ee84

File content as of revision 8:13cef7cb872e:

#ifndef stone_H
#define stone_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Rocket.h"

class Asteroid
{

public:
    Asteroid();
    ~Asteroid();
    void init(float speed);
    void draw(N5110 &lcd);
    void update();
    Vector2D get_pos();

private:

    Vector2D _velocity;
    Vector2D p;
    int _size;
    int _x;
    int _y1;
};
#endif