source:
orxonox.OLD/branches/presentation/src/world_entities/weapons/heavy_blaster.h
| Last change on this file was 10771, checked in by nicolasc, 18 years ago | |
|---|---|
| File size: 630 bytes | |
| Rev | Line | |
|---|---|---|
| [9972] | 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> | |
| [10499] | 8 | * |
| [9998] | 9 | * Heavy Blaster class |
| [9972] | 10 | */ |
| 11 | class HeavyBlaster : public Weapon | |
| 12 | { | |
| [10499] | 13 | // ObjectListDeclaration(HeavyBlaster); |
| [9972] | 14 | public: |
| [10152] | 15 | HeavyBlaster(int leftRight); |
| [9972] | 16 | HeavyBlaster (const TiXmlElement* root); |
| 17 | virtual ~HeavyBlaster(); | |
| 18 | ||
| [10152] | 19 | void init(int leftRight); |
| [9972] | 20 | virtual void loadParams(const TiXmlElement* root); |
| 21 | ||
| 22 | virtual void activate(); | |
| 23 | virtual void deactivate(); | |
| 24 | ||
| 25 | virtual void fire(); | |
| 26 | ||
| [10516] | 27 | virtual void tick(float dt); |
| 28 | ||
| [9972] | 29 | virtual void draw() const; |
| 30 | ||
| [10133] | 31 | private: |
| [10152] | 32 | |
| 33 | int leftRight; | |
| [9972] | 34 | }; |
| 35 | ||
| 36 | #endif |
Note: See TracBrowser
for help on using the repository browser.










