Last change
on this file was
10771,
checked in by nicolasc, 18 years ago
|
huge diff
cleaned the individual weapons, moved stuff to weapon.{cc,h}
and some minor fixes which popped up then and when
|
File size:
630 bytes
|
Line | |
---|
1 | #ifndef HEAVY_BLASTER_H |
---|
2 | #define HEAVY_BLASTER_H |
---|
3 | |
---|
4 | #include "weapon.h" |
---|
5 | |
---|
6 | /** |
---|
7 | * @author Marc Schaerer <marcscha@ee.ethz.ch> |
---|
8 | * |
---|
9 | * Heavy Blaster class |
---|
10 | */ |
---|
11 | class HeavyBlaster : public Weapon |
---|
12 | { |
---|
13 | // ObjectListDeclaration(HeavyBlaster); |
---|
14 | public: |
---|
15 | HeavyBlaster(int leftRight); |
---|
16 | HeavyBlaster (const TiXmlElement* root); |
---|
17 | virtual ~HeavyBlaster(); |
---|
18 | |
---|
19 | void init(int leftRight); |
---|
20 | virtual void loadParams(const TiXmlElement* root); |
---|
21 | |
---|
22 | virtual void activate(); |
---|
23 | virtual void deactivate(); |
---|
24 | |
---|
25 | virtual void fire(); |
---|
26 | |
---|
27 | virtual void tick(float dt); |
---|
28 | |
---|
29 | virtual void draw() const; |
---|
30 | |
---|
31 | private: |
---|
32 | |
---|
33 | int leftRight; |
---|
34 | }; |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.