Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

merged cleanup into trunk (only improvements)

File size: 985 bytes
RevLine 
[10047]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"
[10063]10#include "effects/billboard.h"
[10047]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
[10274]29    virtual void hit (float damage, WorldEntity* entity);
[10047]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;
[10618]44    static const float                rotationSpeed = 600;
[10047]45
[10063]46    Billboard*                        halo;
47
[10047]48    WorldEntity* hitEntity; // FIXME TEMPORARY
49};
50
51#endif /* _HBOLT_H */
Note: See TracBrowser for help on using the repository browser.