Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

RespawnPowerup.h

Go to the documentation of this file.
00001 
00007 #ifndef RESPAWNPOWERUP_H_PQM302
00008 #define RESPAWNPOWERUP_H_PQM302
00009 
00010 #include "GameLogic.h"
00011 
00012 class Powerup;
00013 
00026 class RespawnPowerup : public GameLogic {
00027 public:
00033     RespawnPowerup( Powerup* p, float timeToRespawn );
00034 
00040     virtual ~RespawnPowerup();
00041 
00046     bool update( float dt );
00047 
00048 private:
00049     RespawnPowerup();
00050     RespawnPowerup( const RespawnPowerup& other );
00051     RespawnPowerup& operator = ( const RespawnPowerup& rhs );
00052 
00053     void doRespawn();
00054 
00055     float timeLeft;
00056     Powerup* p;
00057     bool soundPlayed;
00058 };
00059 
00060 #endif //#ifndef RESPAWNPOWERUP_H_PQM302

Generated on Tue Mar 4 02:29:25 2003 for SuperIsoBomb by doxygen1.2.18