Last change
on this file since 10766 was
10368,
checked in by patrick, 18 years ago
|
merged the branche playability into the trunk
|
File size:
883 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file acid_splash.h |
---|
3 | * @brief acid splash projectile |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _ACIDSPLASH_H |
---|
7 | #define _ACIDSPLASH_H |
---|
8 | |
---|
9 | #include "projectile.h" |
---|
10 | |
---|
11 | class Vector; |
---|
12 | class Weapon; |
---|
13 | class FastFactory; |
---|
14 | class Wobblegrid; |
---|
15 | |
---|
16 | class AcidSplash : public Projectile |
---|
17 | { |
---|
18 | ObjectListDeclaration(AcidSplash); |
---|
19 | public: |
---|
20 | AcidSplash (); |
---|
21 | virtual ~AcidSplash (); |
---|
22 | |
---|
23 | |
---|
24 | virtual void activate(); |
---|
25 | virtual void deactivate(); |
---|
26 | |
---|
27 | // virtual void collidesWith(WorldEntity* entity, const Vector& location); |
---|
28 | |
---|
29 | virtual void destroy (WorldEntity* killer); |
---|
30 | |
---|
31 | virtual void tick (float dt); |
---|
32 | virtual void draw () const; |
---|
33 | |
---|
34 | private: |
---|
35 | static FastFactory* fastFactory; |
---|
36 | Wobblegrid* grid; |
---|
37 | |
---|
38 | float angle; |
---|
39 | static const float rotationSpeed = 1080; |
---|
40 | |
---|
41 | |
---|
42 | WorldEntity* hitEntity; // FIXME TEMPORARY |
---|
43 | }; |
---|
44 | |
---|
45 | #endif /* _ACIDSPLASH_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.