source:
orxonox.OLD/trunk/src/world_entities/weapons/acid_launcher.h
| Last change on this file was 10618, checked in by bknecht, 19 years ago | |
|---|---|
| File size: 581 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 | |
| [10618] | 14 | { |
| 15 | ObjectListDeclaration ( AcidLauncher ); | |
| [10179] | 16 | public: |
| 17 | AcidLauncher (); | |
| [10618] | 18 | AcidLauncher ( const TiXmlElement* root ); |
| [10179] | 19 | virtual ~AcidLauncher (); |
| 20 | ||
| 21 | void init(); | |
| [10618] | 22 | virtual void loadParams ( const TiXmlElement* root ); |
| [10179] | 23 | |
| 24 | virtual void activate(); | |
| 25 | virtual void deactivate(); | |
| 26 | ||
| [10618] | 27 | virtual void tick ( float dt ); |
| [10179] | 28 | virtual void fire(); |
| 29 | ||
| 30 | ||
| 31 | private: | |
| [10618] | 32 | }; |
| [10179] | 33 | |
| 34 | #endif /* _ACID_LAUNCHER_H */ |
Note: See TracBrowser
for help on using the repository browser.










