source:
orxonox.OLD/branches/playability/src/world_entities/weapons/heavy_blaster.h
@
10196
Last change on this file since 10196 was 10152, checked in by nicolasc, 17 years ago | |
---|---|
File size: 755 bytes |
Rev | Line | |
---|---|---|
[9972] | 1 | #ifndef HEAVY_BLASTER_H |
2 | #define HEAVY_BLASTER_H | |
3 | ||
4 | ||
5 | #include "weapon.h" | |
6 | ||
[10152] | 7 | #define W_LEFT 0 |
8 | #define W_RIGHT 1 | |
9 | ||
[9972] | 10 | /** |
11 | * @author Marc Schaerer <marcscha@ee.ethz.ch> | |
12 | * | |
[9998] | 13 | * Heavy Blaster class |
[9972] | 14 | */ |
15 | class HeavyBlaster : public Weapon | |
16 | { | |
[9975] | 17 | //ObjectListDeclaration(HeavyBlaster); |
[9972] | 18 | public: |
[10152] | 19 | HeavyBlaster(int leftRight); |
[9972] | 20 | HeavyBlaster (const TiXmlElement* root); |
21 | virtual ~HeavyBlaster(); | |
22 | ||
[10152] | 23 | void init(int leftRight); |
[9972] | 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 draw() const; | |
32 | ||
[10133] | 33 | private: |
[10152] | 34 | PNode*** objComp; |
35 | Animation3D*** shootAnim; | |
36 | PNode** emissionPoint; | |
37 | ||
38 | int activeBarrel; | |
39 | ||
40 | int leftRight; | |
[9972] | 41 | }; |
42 | ||
43 | #endif |
Note: See TracBrowser
for help on using the repository browser.