Reham Faqehi / Mbed 2 deprecated fy15raf

Dependencies:   mbed

Fork of fy15raf by ELEC2645 (2017/18)

Revision:
4:8c6723798227
Child:
5:b230e79d36d6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Asteroids/Asteroid.h	Thu Apr 19 16:54:10 2018 +0000
@@ -0,0 +1,26 @@
+#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(int speed);
+    void draw(N5110 &lcd);
+
+
+private:
+
+    Vector2D _velocity;
+    int _size;
+    int _x;
+    int _y1;
+};
+#endif