Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.

Dependencies:   25LCxxx_SPI CommonTypes Gameduino mbed

Revision:
4:673eb9735d44
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Int16Pair.h	Sat Jun 08 11:24:05 2013 +0000
@@ -0,0 +1,45 @@
+/*
+ * SOURCE FILE : Int16Pair.h
+ *
+ * Pair of Int16s in a class.
+ *
+ */
+
+#ifndef Int16PairIncluded
+  
+  #define Int16PairIncluded
+
+  #include "Types.h"
+  
+  class Int16Pair {
+    
+  public :
+
+    // X and Y components.  
+    Int16 X, Y;
+    
+    /***************/
+    /* CONSTRUCTOR */
+    /***************/
+    Int16Pair() :
+      X( 0 ),
+      Y( 0 )
+    {
+    }
+    
+    /***************/
+    /* CONSTRUCTOR */
+    /***************/
+    // Pass X and Y components in x and y.
+    Int16Pair( Int16 x, Int16 y ) :
+      X( x ),
+      Y( y )
+    {
+    }
+    
+  };
+  
+#endif
+
+/* END of Int16Pair.h */
+