Last change
on this file since 10589 was
10073,
checked in by marcscha, 18 years ago
|
Emitter Node implemented, first steps for swarm missile in
|
File size:
582 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file swarm_launcher.h |
---|
3 | */ |
---|
4 | |
---|
5 | |
---|
6 | #ifndef _SWARM_LAUNCHER_H |
---|
7 | #define _SWARM_LAUNCHER_H |
---|
8 | |
---|
9 | #include "weapon.h" |
---|
10 | |
---|
11 | #define SWARM_LAUNCHER_MAXRANGE = 500.0; |
---|
12 | |
---|
13 | class SwarmLauncher : public Weapon |
---|
14 | { |
---|
15 | ObjectListDeclaration(SwarmLauncher); |
---|
16 | public: |
---|
17 | SwarmLauncher (); |
---|
18 | SwarmLauncher(const TiXmlElement* root); |
---|
19 | virtual ~SwarmLauncher (); |
---|
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 /* _SWARM_LAUNCHER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.