|
Last change
on this file since 10722 was
10698,
checked in by snellen, 18 years ago
|
|
merged adm, hud, vs-enhancements : beni's responsible for this commit. blame him!
|
|
File size:
608 bytes
|
| Line | |
|---|
| 1 | #ifndef RF_CANNON_H |
|---|
| 2 | #define RF_CANNON_H |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | #include "weapon.h" |
|---|
| 6 | |
|---|
| 7 | /** |
|---|
| 8 | * Light Blaster class |
|---|
| 9 | */ |
|---|
| 10 | class RFCannon : public Weapon |
|---|
| 11 | { |
|---|
| 12 | ObjectListDeclaration(RFCannon); |
|---|
| 13 | public: |
|---|
| 14 | RFCannon (); |
|---|
| 15 | RFCannon (const TiXmlElement* root); |
|---|
| 16 | virtual ~RFCannon(); |
|---|
| 17 | |
|---|
| 18 | void init(); |
|---|
| 19 | virtual void loadParams(const TiXmlElement* root); |
|---|
| 20 | |
|---|
| 21 | virtual void activate(); |
|---|
| 22 | virtual void deactivate(); |
|---|
| 23 | |
|---|
| 24 | virtual void fire(); |
|---|
| 25 | |
|---|
| 26 | virtual void tick(float dt); |
|---|
| 27 | |
|---|
| 28 | virtual void draw() const; |
|---|
| 29 | |
|---|
| 30 | private: |
|---|
| 31 | PNode*** objComp; |
|---|
| 32 | Animation3D*** shootAnim; |
|---|
| 33 | |
|---|
| 34 | PNode** emissionPoint; |
|---|
| 35 | |
|---|
| 36 | int activeBarrel; |
|---|
| 37 | }; |
|---|
| 38 | |
|---|
| 39 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.