Simple vertical scrolling space shooter game using navigation switch (joystick), uLCD-144-G2, and a pushbutton switch.

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Revision:
0:5c666e5cd22d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Display/Shot.h	Thu Mar 17 20:47:11 2016 +0000
@@ -0,0 +1,18 @@
+#ifndef SHOT_H
+#define SHOT_H
+
+#include "Circle.h"
+
+class Shot : public Circle {
+public:
+    Shot(int x, int y, int dy, int color, uLCD_4DGL *uLCD);
+    int getY();
+    int getX();
+    void update();
+    
+protected:
+    int _dy;
+    int _color;
+};
+
+#endif
\ No newline at end of file