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
ExplosionObject.h
- Committer:
- RichardE
- Date:
- 2013-06-17
- Revision:
- 18:70190f956a24
- Parent:
- 8:82d88f9381f3
File content as of revision 18:70190f956a24:
/* * 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 */