Last change
on this file since 10179 was
10179,
checked in by marcscha, 17 years ago
|
Acid Launcher and Acid Splash (projectile) finished.
This time including the missing source file
|
File size:
571 bytes
|
Rev | Line | |
---|
[10179] | 1 | /*! |
---|
| 2 | * @file acid_launcher.h |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | #ifndef _ACID_LAUNCHER_H |
---|
| 7 | #define _ACID_LAUNCHER_H |
---|
| 8 | |
---|
| 9 | #include "weapon.h" |
---|
| 10 | |
---|
| 11 | #define ACID_LAUNCHER_MAXRANGE = 50.0; |
---|
| 12 | |
---|
| 13 | class AcidLauncher : public Weapon |
---|
| 14 | { |
---|
| 15 | ObjectListDeclaration(AcidLauncher); |
---|
| 16 | public: |
---|
| 17 | AcidLauncher (); |
---|
| 18 | AcidLauncher(const TiXmlElement* root); |
---|
| 19 | virtual ~AcidLauncher (); |
---|
| 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 /* _ACID_LAUNCHER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.