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:
5:0b0651ac7832
Parent:
4:673eb9735d44
--- a/BulletObject.h	Sat Jun 08 11:24:05 2013 +0000
+++ b/BulletObject.h	Sat Jun 08 14:40:47 2013 +0000
@@ -64,10 +64,11 @@
     /************************/
     /* DRAW THE GAME OBJECT */
     /************************/
+    // Pass pointer to Gameduino to draw on in gd.
     // This is only called after it has been established that the
     // game object is visible.
-    virtual void Draw( void ) {
-      // GD.sprite( SpriteNumber, ToPixel( Xco ), ToPixel( Yco ), imageNumber, 0, 0, spriteGroup );
+    virtual void Draw( Gameduino *gd ) {
+      gd->sprite( SpriteNumber, ToPixel( Xco ), ToPixel( Yco ), imageNumber, 0, Gameduino::None, spriteGroup );
     }
    
   private :