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
RevLine 
[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]11class SpriteParticles;
[5443]12class ParticleEmitter;
[5447]13class FastFactory;
[3708]14
[7047]15class 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.