Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/projectiles/hyperblast.h @ 10502

Last change on this file since 10502 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: 910 bytes
RevLine 
[4890]1/*!
[6810]2 * @file hyperblast.h
3 * @brief a Hyperblast Projectile
[3708]4*/
5
[6810]6#ifndef _HYPERBLAST_H
7#define _HYPERBLAST_H
[3708]8
[3710]9#include "projectile.h"
[3708]10
11class Vector;
12class Weapon;
[6810]13class SparkParticles;
[5443]14class ParticleEmitter;
[5447]15class FastFactory;
[3708]16
[6810]17class Hyperblast : public Projectile
[3708]18{
[9869]19  ObjectListDeclaration(Hyperblast);
[5443]20  public:
[6810]21    Hyperblast ();
22    virtual ~Hyperblast ();
[3708]23
24
[5443]25    virtual void activate();
26    virtual void deactivate();
[4890]27
[5443]28    virtual void collidesWith(WorldEntity* entity, const Vector& location);
29
[9235]30    virtual void destroy (WorldEntity* killer);
[5443]31
32    virtual void tick (float time);
[5500]33    virtual void draw () const;
[5443]34
35
36  private:
[5447]37    static FastFactory*               fastFactory;
[6810]38    static SparkParticles*            explosionParticles;
[5443]39
[5447]40    ParticleEmitter*                  emitter;
[6821]41    float                             size;
[5447]42
43    WorldEntity* hitEntity; // FIXME TEMPORARY
[3708]44};
45
[6810]46#endif /* _HYPERBLAST_H */
Note: See TracBrowser for help on using the repository browser.