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:
7:e72691603fd3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GruntObject.cpp	Sat Jun 08 16:44:54 2013 +0000
@@ -0,0 +1,19 @@
+/*
+ * SOURCE FILE : GruntObject.cpp
+ *
+ * Represents the grunt enemy object.
+ *
+ */
+
+#include "GruntObject.h"
+
+// Speed at which grunt moves.
+Int16 GruntObject::gruntSpeed = FromPixel( 1 ) >> 2;
+
+/************************/
+/* MOVE THE GAME OBJECT */
+/************************/
+void GruntObject::ProtectedMove( void ) {
+    MoveTowards( chaseObject, gruntSpeed );
+}
+