Last change
on this file since 10650 was
10649,
checked in by nicolasc, 18 years ago
|
added nadion blast
fine tuned weapon timing / prepared projectiles
|
File size:
1.1 KB
|
Line | |
---|
1 | /*! |
---|
2 | * @file nadion_blast.h |
---|
3 | * @brief nadion blast |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _NADION_BLAST_H |
---|
7 | #define _NADION_BLAST_H |
---|
8 | |
---|
9 | #include "projectile.h" |
---|
10 | #include "material.h" |
---|
11 | |
---|
12 | class Vector; |
---|
13 | class Weapon; |
---|
14 | class SpriteParticles; |
---|
15 | class ParticleEmitter; |
---|
16 | class FastFactory; |
---|
17 | class Trail; |
---|
18 | |
---|
19 | class NadionBlast : public Projectile |
---|
20 | { |
---|
21 | ObjectListDeclaration(NadionBlast); |
---|
22 | public: |
---|
23 | NadionBlast (); |
---|
24 | virtual ~NadionBlast (); |
---|
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 | static SpriteParticles* explosionParticles; |
---|
40 | |
---|
41 | // Trail* trail; |
---|
42 | |
---|
43 | float angle; |
---|
44 | static const float rotationSpeed = 1080; |
---|
45 | |
---|
46 | ParticleEmitter* emitter; |
---|
47 | |
---|
48 | Material* mat; |
---|
49 | |
---|
50 | |
---|
51 | // WorldEntity* hitEntity; // FIXME TEMPORARY |
---|
52 | }; |
---|
53 | |
---|
54 | #endif /* _NADION_BLAST_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.