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