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: ExplosionObject.h
- Revision:
- 8:82d88f9381f3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ExplosionObject.h Sat Jun 08 17:51:33 2013 +0000 @@ -0,0 +1,45 @@ +/* + * SOURCE FILE : ExplosionObject.h + * + * Represents an explosion. + * + */ + +#ifndef ExplosionObjectIncluded + + #define ExplosionObjectIncluded + + #include "OneShotObject.h" + #include "SpriteImageId.h" + + class ExplosionObject : public OneShotObject { + + public : + + /***************/ + /* CONSTRUCTOR */ + /***************/ + ExplosionObject() { + SetImageRange( Explosion0Image, Explosion9Image, 7 ); + } + + /**************/ + /* DESTRUCTOR */ + /**************/ + virtual ~ExplosionObject() { + } + + /************************/ + /* GET GAME OBJECT TYPE */ + /************************/ + // Returns type of game object. + virtual GameObjectTypes GetType( void ) { + return ExplosionObjectType; + } + + }; + +#endif + +/* END of ExplosionObject.h */ +