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:
588 bytes
|
Rev | Line | |
---|
[9972] | 1 | #ifndef LIGHT_BLASTER_H |
---|
| 2 | #define LIGHT_BLASTER_H |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | #include "weapon.h" |
---|
| 6 | |
---|
| 7 | /** |
---|
| 8 | * @author Marc Schaerer <marcscha@ee.ethz.ch> |
---|
| 9 | * |
---|
| 10 | * Light Blaster class |
---|
| 11 | */ |
---|
| 12 | class LightBlaster : public Weapon |
---|
| 13 | { |
---|
[9975] | 14 | //ObjectListDeclaration(LightBlaster); |
---|
[9972] | 15 | public: |
---|
| 16 | LightBlaster (); |
---|
| 17 | LightBlaster (const TiXmlElement* root); |
---|
| 18 | virtual ~LightBlaster(); |
---|
| 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 | |
---|
[10516] | 28 | virtual void tick(float dt); |
---|
| 29 | |
---|
[9972] | 30 | virtual void draw() const; |
---|
| 31 | |
---|
[10152] | 32 | private: |
---|
| 33 | |
---|
[9972] | 34 | }; |
---|
| 35 | |
---|
| 36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.