Daniel Nguyen

Dependencies:   4DGL-uLCD-SE mbed

Revision:
0:7d7f6032c719
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ScreenAliens.h	Thu Nov 02 19:15:07 2017 +0000
@@ -0,0 +1,32 @@
+#ifndef SCREENALIENS_H_
+#define SCREENALIENS_H_
+#include <iostream>
+
+
+class ScreenAliens
+{   
+    
+    protected:
+        int moveLeft;
+        int move;
+        int pos_x;
+        int pos_y;
+        int speed;
+    public:
+    ScreenAliens();
+    virtual void draw() = 0; // Draws the sprites of the alien
+                             // Considers the placement and checks to see 
+                             // if there is enough space for an alien to occupy
+                             // the space
+    virtual void update() = 0; // The animation of the sprite and governs 
+                               // how it means by putting draw in a loop
+    virtual void isLeft(int x);
+    
+    virtual int getPosX(); //
+    
+    virtual int getPosY(); //
+    
+    virtual void collide();
+};
+
+#endif
\ No newline at end of file