Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/projectiles/hbolt.h @ 10674

Last change on this file since 10674 was 10618, checked in by bknecht, 18 years ago

merged cleanup into trunk (only improvements)

File size: 985 bytes
Line 
1/*!
2 * @file hhbolt.h
3 * @brief heavy blaster hbolt
4*/
5
6#ifndef _HBOLT_H
7#define _HBOLT_H
8
9#include "projectile.h"
10#include "effects/billboard.h"
11
12class Vector;
13class Weapon;
14class SpriteParticles;
15class ParticleEmitter;
16class FastFactory;
17
18class HBolt : public Projectile
19{
20  ObjectListDeclaration(HBolt);
21  public:
22    HBolt ();
23    virtual ~HBolt ();
24
25
26    virtual void activate();
27    virtual void deactivate();
28
29    virtual void hit (float damage, WorldEntity* entity);
30
31    virtual void destroy (WorldEntity* killer);
32
33    virtual void tick (float dt);
34    virtual void draw () const;
35
36  private:
37    static FastFactory*               fastFactory;
38
39    static SpriteParticles*           explosionParticles;
40
41    ParticleEmitter*                  emitter;
42
43    float                             angle;
44    static const float                rotationSpeed = 600;
45
46    Billboard*                        halo;
47
48    WorldEntity* hitEntity; // FIXME TEMPORARY
49};
50
51#endif /* _HBOLT_H */
Note: See TracBrowser for help on using the repository browser.