Last change
on this file since 10767 was
10368,
checked in by patrick, 18 years ago
|
merged the branche playability into the trunk
|
File size:
979 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 | |
---|
12 | class Vector; |
---|
13 | class Weapon; |
---|
14 | class SpriteParticles; |
---|
15 | class ParticleEmitter; |
---|
16 | class FastFactory; |
---|
17 | |
---|
18 | class 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 | float rotationSpeed; |
---|
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.