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