Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

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