Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.

Dependencies:   mbed

Revision:
28:4786e81ce3e3
Child:
51:cb644365d9a3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Alien/Alien.h	Sat Apr 20 00:48:05 2019 +0000
@@ -0,0 +1,34 @@
+#ifndef Alien_H
+#define Alien_H
+
+
+
+#include "mbed.h"
+#include "Gamepad.h"
+#include "N5110.h"
+#include "SpaceInvadersEngine.h"
+
+
+class Alien
+{
+    public:
+    Alien();
+    ~Alien();
+    
+    void init(int size,int speed);
+    void draw(N5110 &lcd);
+        void update();
+           /// accessors and mutators
+    void set_velocity(Vector2D v);
+    Vector2D get_velocity();
+    Vector2D get_pos();
+    void set_pos(Vector2D p);
+    
+private:
+
+    Vector2D _velocity;
+    int _size;
+    int _x;
+    int _y;
+};
+#endif
\ No newline at end of file