Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/blink/src/world_entities/weapons/light_blaster.h @ 10583

Last change on this file since 10583 was 10368, checked in by patrick, 18 years ago

merged the branche playability into the trunk

File size: 656 bytes
Line 
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 */
12class LightBlaster : public Weapon
13{
14  //ObjectListDeclaration(LightBlaster);
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
28    virtual void draw() const;
29
30  private:
31    PNode*** objComp;
32    Animation3D*** shootAnim;
33
34    PNode** emissionPoint;
35
36    int activeBarrel;
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.