Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/vs-enhencements/src/world_entities/weapons/nadion_laser.h @ 10661

Last change on this file since 10661 was 10661, checked in by nicolasc, 17 years ago

modular weapons inclusion

File size: 597 bytes
Line 
1#ifndef NADION_LASER_H
2#define NADION_LASER_H
3
4
5#include "weapon.h"
6
7
8class NadionLaser : public Weapon
9{
10  ObjectListDeclaration(NadionLaser);
11  public:
12    NadionLaser();
13    NadionLaser (const TiXmlElement* root);
14    virtual ~NadionLaser();
15
16    void init();
17    virtual void loadParams(const TiXmlElement* root);
18
19    virtual void activate();
20    virtual void deactivate();
21
22    virtual void fire();
23
24    virtual void tick(float dt);
25
26    virtual void draw() const;
27
28  private:
29    PNode*** objComp;
30    Animation3D*** shootAnim;
31    PNode** emissionPoint;
32
33    int activeBarrel;
34
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.