| Last change
                  on this file since 1351 was
                  859,
                  checked in by landauf, 18 years ago | 
        
          | 
more or less a copy of the trunk
 | 
        | File size:
            580 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | #ifndef _Explosion_H__ | 
|---|
| 2 | #define _Explosion_H__ | 
|---|
| 3 |  | 
|---|
| 4 | #include "../OrxonoxPrereqs.h" | 
|---|
| 5 |  | 
|---|
| 6 | #include "WorldEntity.h" | 
|---|
| 7 | #include "../tools/Timer.h" | 
|---|
| 8 |  | 
|---|
| 9 | namespace orxonox | 
|---|
| 10 | { | 
|---|
| 11 | class _OrxonoxExport Explosion : public WorldEntity | 
|---|
| 12 | { | 
|---|
| 13 | public: | 
|---|
| 14 | Explosion(WorldEntity* owner = 0); | 
|---|
| 15 | virtual ~Explosion(); | 
|---|
| 16 | void destroyObject(); | 
|---|
| 17 |  | 
|---|
| 18 | private: | 
|---|
| 19 | Timer<Explosion> destroyTimer_; | 
|---|
| 20 | float lifetime_; | 
|---|
| 21 | ParticleInterface* particle_; | 
|---|
| 22 | }; | 
|---|
| 23 | ExportClass(Explosion, Orxonox); | 
|---|
| 24 | } | 
|---|
| 25 |  | 
|---|
| 26 | #endif /* _Explosion_H__ */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.