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/Rectangle.h	Thu Mar 17 20:47:11 2016 +0000
@@ -0,0 +1,19 @@
+#ifndef RECTANGLE_H
+#define RECTANGLE_H
+
+#include "Sprite.h"
+
+class Rectangle : public Sprite {
+public:
+    Rectangle();
+    void init(int x, int y, uLCD_4DGL *uLCD);
+    void setDimensions(int height, int width);
+    void drawRect(int baseX, int baseY, int color);
+
+private:
+    int _height;
+    int _width;
+};
+
+#endif
+