source:
orxonox.OLD/trunk/src/world_entities/weapons/nadion_laser.h
        
        | Last change on this file was 10698, checked in by snellen, 18 years ago | |
|---|---|
| File size: 597 bytes | |
| Rev | Line | |
|---|---|---|
| [10648] | 1 | #ifndef NADION_LASER_H | 
| 2 | #define NADION_LASER_H | |
| [9972] | 3 | |
| 4 | ||
| 5 | #include "weapon.h" | |
| 6 | ||
| [10648] | 7 | |
| 8 | class NadionLaser : public Weapon | |
| [9972] | 9 | { | 
| [10661] | 10 | ObjectListDeclaration(NadionLaser); | 
| [9972] | 11 | public: | 
| [10648] | 12 | NadionLaser(); | 
| 13 | NadionLaser (const TiXmlElement* root); | |
| 14 | virtual ~NadionLaser(); | |
| [9972] | 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 | ||
| [10516] | 24 | virtual void tick(float dt); | 
| 25 | ||
| [9972] | 26 | virtual void draw() const; | 
| 27 | ||
| [10286] | 28 | private: | 
| 29 | PNode*** objComp; | |
| 30 | Animation3D*** shootAnim; | |
| [10648] | 31 | PNode** emissionPoint; | 
| [10286] | 32 | |
| 33 | int activeBarrel; | |
| 34 | ||
| [9972] | 35 | }; | 
| 36 | ||
| 37 | #endif | 
Note: See TracBrowser
        for help on using the repository browser.
    


            






