Line | |
---|
1 | /*! |
---|
2 | * @file explosion.h |
---|
3 | * @brief a Explosion Projectile |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _EXPLOSION_H |
---|
7 | #define _EXPLOSION_H |
---|
8 | |
---|
9 | #include "world_entity.h" |
---|
10 | |
---|
11 | class SpriteParticles; |
---|
12 | class ParticleEmitter; |
---|
13 | class FastFactory; |
---|
14 | |
---|
15 | class Explosion : public WorldEntity |
---|
16 | { |
---|
17 | public: |
---|
18 | Explosion (); |
---|
19 | virtual ~Explosion (); |
---|
20 | |
---|
21 | virtual void activate(); |
---|
22 | virtual void deactivate(); |
---|
23 | |
---|
24 | virtual void tick (float time); |
---|
25 | |
---|
26 | private: |
---|
27 | static FastFactory* fastFactory; |
---|
28 | |
---|
29 | float lifeTime; |
---|
30 | float lifeCycle; |
---|
31 | |
---|
32 | static SpriteParticles* explosionParticles; |
---|
33 | ParticleEmitter* emitter; |
---|
34 | }; |
---|
35 | |
---|
36 | #endif /* _EXPLOSION_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.