Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/effects/explosion.h @ 7047

Last change on this file since 7047 was 7047, checked in by bensch, 18 years ago

trunk: added class Explosion

File size: 659 bytes
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
11class SpriteParticles;
12class ParticleEmitter;
13class FastFactory;
14
15class 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.