Last change
on this file since 10667 was
10648,
checked in by nicolasc, 18 years ago
|
some additional weapons, started weapons cleanup
|
File size:
697 bytes
|
Line | |
---|
1 | #ifndef MEDIUM_BLASTER_H |
---|
2 | #define MEDIUM_BLASTER_H |
---|
3 | |
---|
4 | |
---|
5 | #include "weapon.h" |
---|
6 | |
---|
7 | /** |
---|
8 | * @author Marc Schaerer <marcscha@ee.ethz.ch> |
---|
9 | * |
---|
10 | * Medium Blaster class |
---|
11 | */ |
---|
12 | class MediumBlaster : public Weapon |
---|
13 | { |
---|
14 | //ObjectListDeclaration(MediumBlaster); |
---|
15 | public: |
---|
16 | MediumBlaster(); |
---|
17 | MediumBlaster (const TiXmlElement* root); |
---|
18 | virtual ~MediumBlaster(); |
---|
19 | |
---|
20 | void init(); |
---|
21 | virtual void loadParams(const TiXmlElement* root); |
---|
22 | |
---|
23 | virtual void activate(); |
---|
24 | virtual void deactivate(); |
---|
25 | |
---|
26 | virtual void fire(); |
---|
27 | |
---|
28 | virtual void tick(float dt); |
---|
29 | |
---|
30 | virtual void draw() const; |
---|
31 | |
---|
32 | private: |
---|
33 | PNode*** objComp; |
---|
34 | Animation3D*** shootAnim; |
---|
35 | PNode** emissionPoint; |
---|
36 | |
---|
37 | int activeBarrel; |
---|
38 | |
---|
39 | }; |
---|
40 | |
---|
41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.