| Line | |
|---|
| 1 | /*! |
|---|
| 2 | * @file hyperblaster.h |
|---|
| 3 | * a weapon that to fire heavy weaponary Hyperblasts. |
|---|
| 4 | */ |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | #ifndef _HYPERBLASTER_H |
|---|
| 8 | #define _HYPERBLASTER_H |
|---|
| 9 | |
|---|
| 10 | #include "weapon.h" |
|---|
| 11 | |
|---|
| 12 | class Hyperblaster : public Weapon |
|---|
| 13 | { |
|---|
| 14 | ObjectListDeclaration(Hyperblaster); |
|---|
| 15 | public: |
|---|
| 16 | Hyperblaster (const TiXmlElement* root = NULL); |
|---|
| 17 | virtual ~Hyperblaster (); |
|---|
| 18 | |
|---|
| 19 | void init(); |
|---|
| 20 | virtual void loadParams(const TiXmlElement* root); |
|---|
| 21 | |
|---|
| 22 | virtual void activate(); |
|---|
| 23 | virtual void deactivate(); |
|---|
| 24 | |
|---|
| 25 | virtual void fire(); |
|---|
| 26 | |
|---|
| 27 | private: |
|---|
| 28 | // PNode* objectComponent1; //<! the gun is made of multiple parts, these PNodes represent their location and orientation |
|---|
| 29 | }; |
|---|
| 30 | #endif /* _HYPERBLASTER_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.