Last change
on this file since 10536 was
10368,
checked in by patrick, 18 years ago
|
merged the branche playability into the trunk
|
File size:
572 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file spike_thrower.h |
---|
3 | */ |
---|
4 | |
---|
5 | |
---|
6 | #ifndef _SPIKE_THROWER_H |
---|
7 | #define _SPIKE_THROWER_H |
---|
8 | |
---|
9 | #include "weapon.h" |
---|
10 | |
---|
11 | #define SPIKE_THROWER_MAXRANGE = 500.0; |
---|
12 | |
---|
13 | class SpikeThrower : public Weapon |
---|
14 | { |
---|
15 | ObjectListDeclaration(SpikeThrower); |
---|
16 | public: |
---|
17 | SpikeThrower (); |
---|
18 | SpikeThrower(const TiXmlElement* root); |
---|
19 | virtual ~SpikeThrower (); |
---|
20 | |
---|
21 | void init(); |
---|
22 | virtual void loadParams(const TiXmlElement* root); |
---|
23 | |
---|
24 | virtual void activate(); |
---|
25 | virtual void deactivate(); |
---|
26 | |
---|
27 | virtual void tick(float dt); |
---|
28 | virtual void fire(); |
---|
29 | |
---|
30 | |
---|
31 | private: |
---|
32 | }; |
---|
33 | |
---|
34 | #endif /* _SPIKE_THROWER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.