Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 25LCxxx_SPI CommonTypes Gameduino mbed
ExplosionObject.h
00001 /* 00002 * SOURCE FILE : ExplosionObject.h 00003 * 00004 * Represents an explosion. 00005 * 00006 */ 00007 00008 #ifndef ExplosionObjectIncluded 00009 00010 #define ExplosionObjectIncluded 00011 00012 #include "OneShotObject.h" 00013 #include "SpriteImageId.h" 00014 00015 class ExplosionObject : public OneShotObject { 00016 00017 public : 00018 00019 /***************/ 00020 /* CONSTRUCTOR */ 00021 /***************/ 00022 ExplosionObject() { 00023 SetImageRange( Explosion0Image, Explosion9Image, 7 ); 00024 } 00025 00026 /**************/ 00027 /* DESTRUCTOR */ 00028 /**************/ 00029 virtual ~ExplosionObject() { 00030 } 00031 00032 /************************/ 00033 /* GET GAME OBJECT TYPE */ 00034 /************************/ 00035 // Returns type of game object. 00036 virtual GameObjectTypes GetType( void ) { 00037 return ExplosionObjectType; 00038 } 00039 00040 }; 00041 00042 #endif 00043 00044 /* END of ExplosionObject.h */ 00045
Generated on Tue Jul 12 2022 21:10:35 by
1.7.2