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
Diff: BulletManager.h
- Revision:
- 5:0b0651ac7832
- Parent:
- 4:673eb9735d44
--- a/BulletManager.h Sat Jun 08 11:24:05 2013 +0000 +++ b/BulletManager.h Sat Jun 08 14:40:47 2013 +0000 @@ -11,6 +11,7 @@ #include "Types.h" #include "BulletObject.h" + #include "Gameduino.h" class BulletManager { @@ -38,13 +39,15 @@ /************************/ /* KILL A SINGLE BULLET */ /************************/ + // Pass pointer to Gameduino that displays bullets in gd. // Pass index of bullet in b. - void KillBullet( UInt8 b ); + void KillBullet( Gameduino *gd, UInt8 b ); /********************/ /* KILL ALL BULLETS */ /********************/ - void KillAllBullets( void ); + // Pass pointer to Gameduino that displays bullets in gd. + void KillAllBullets( Gameduino *gd ); /************************************************/ /* GET ARRAY CONTAINING POINTERS TO ALL BULLETS */