Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/presentation/src/world_entities/weapons/heavy_blaster.h @ 10771

Last change on this file since 10771 was 10771, checked in by nicolasc, 17 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 */
11class 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.