00001 00007 #ifndef RESPAWNENTITY_H_PQM302 00008 #define RESPAWNENTITY_H_PQM302 00009 00010 #include "GameLogic.h" 00011 00012 class Entity; 00013 00021 class RespawnEntity : public GameLogic { 00022 public: 00028 RespawnEntity( Entity* ent, float timeToRespawn ); 00029 00035 virtual ~RespawnEntity(); 00036 00041 bool update( float dt ); 00042 00043 private: 00044 RespawnEntity(); 00045 RespawnEntity( const RespawnEntity& other ); 00046 RespawnEntity& operator = ( const RespawnEntity& rhs ); 00047 00048 float timeLeft; 00049 Entity* ent; 00050 }; 00051 00052 #endif