Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/presentation/src/world_entities/projectiles/hbolt.h @ 10757

Last change on this file since 10757 was 10740, checked in by rennerc, 18 years ago

less collision hacks

File size: 1.0 KB
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
12
13class Vector;
14class Weapon;
15class SpriteParticles;
16class ParticleEmitter;
17class FastFactory;
18
19class HBolt : public Projectile
20{
21  ObjectListDeclaration(HBolt);
22  public:
23    HBolt ();
24    virtual ~HBolt ();
25
26
27    virtual void activate();
28    virtual void deactivate();
29
30    virtual void hit (float damage, WorldEntity* entity);
31
32    virtual void destroy (WorldEntity* killer);
33
34    virtual void tick (float dt);
35    virtual void draw () const;
36
37  private:
38    static FastFactory*               fastFactory;
39
40    static SpriteParticles*           explosionParticles;
41
42    ParticleEmitter*                  emitter;
43
44    float                             angle;
45    static const float                rotationSpeed = 600;
46
47    Billboard*                        halo;
48
49    WorldEntity* hitEntity; // FIXME TEMPORARY
50    OBBTree*                    obbTree;
51};
52
53#endif /* _HBOLT_H */
Note: See TracBrowser for help on using the repository browser.