Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9547 was 7125, checked in by bensch, 19 years ago

try fix

File size: 711 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 BoxEmitter;
13class FastFactory;
14
15class Explosion : public WorldEntity
16{
17  public:
18    static void explode (PNode* position, const Vector& size);
19
20    Explosion ();
21    virtual ~Explosion ();
22
23    virtual void activate();
24    virtual void deactivate();
25
26    virtual void tick (float time);
27
28  private:
29    static FastFactory*        fastFactory;
30
31    float                      lifeTime;
32    float                      lifeCycle;
33
34    static SpriteParticles*    explosionParticles;
35    BoxEmitter*                emitter;
36};
37
38#endif /* _EXPLOSION_H */
Note: See TracBrowser for help on using the repository browser.