source:
orxonox.OLD/trunk/src/world_entities/effects/explosion.h
@
7096
| Last change on this file since 7096 was 7047, checked in by bensch, 20 years ago | |
|---|---|
| File size: 659 bytes | |
| Rev | Line | |
|---|---|---|
| [4890] | 1 | /*! |
| [7047] | 2 | * @file explosion.h |
| 3 | * @brief a Explosion Projectile | |
| [3708] | 4 | */ |
| 5 | ||
| [7047] | 6 | #ifndef _EXPLOSION_H |
| 7 | #define _EXPLOSION_H | |
| [3708] | 8 | |
| [7047] | 9 | #include "world_entity.h" |
| [3708] | 10 | |
| [6622] | 11 | class SpriteParticles; |
| [5443] | 12 | class ParticleEmitter; |
| [5447] | 13 | class FastFactory; |
| [3708] | 14 | |
| [7047] | 15 | class Explosion : public WorldEntity |
| [3708] | 16 | { |
| [5443] | 17 | public: |
| [7047] | 18 | Explosion (); |
| 19 | virtual ~Explosion (); | |
| [3708] | 20 | |
| [5443] | 21 | virtual void activate(); |
| 22 | virtual void deactivate(); | |
| [4890] | 23 | |
| [5443] | 24 | virtual void tick (float time); |
| 25 | ||
| 26 | private: | |
| [7047] | 27 | static FastFactory* fastFactory; |
| [5443] | 28 | |
| [7047] | 29 | float lifeTime; |
| 30 | float lifeCycle; | |
| [5447] | 31 | |
| [7047] | 32 | static SpriteParticles* explosionParticles; |
| 33 | ParticleEmitter* emitter; | |
| [3708] | 34 | }; |
| 35 | ||
| [7047] | 36 | #endif /* _EXPLOSION_H */ |
Note: See TracBrowser
for help on using the repository browser.










