| 
                Last change
                  on this file since 10589 was
                  10368,
                  checked in by patrick, 19 years ago
           | 
        
        
          | 
               
merged the branche playability into the trunk 
 
           | 
        
        | 
            File size:
            979 bytes
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [10047] | 1 | /*! | 
|---|
 | 2 |  * @file hhbolt.h | 
|---|
 | 3 |  * @brief heavy blaster hbolt | 
|---|
 | 4 | */ | 
|---|
 | 5 |  | 
|---|
 | 6 | #ifndef _HBOLT_H | 
|---|
 | 7 | #define _HBOLT_H | 
|---|
 | 8 |  | 
|---|
 | 9 | #include "projectile.h" | 
|---|
| [10063] | 10 | #include "effects/billboard.h" | 
|---|
| [10047] | 11 |  | 
|---|
 | 12 | class Vector; | 
|---|
 | 13 | class Weapon; | 
|---|
 | 14 | class SpriteParticles; | 
|---|
 | 15 | class ParticleEmitter; | 
|---|
 | 16 | class FastFactory; | 
|---|
 | 17 |  | 
|---|
 | 18 | class HBolt : public Projectile | 
|---|
 | 19 | { | 
|---|
 | 20 |   ObjectListDeclaration(HBolt); | 
|---|
 | 21 |   public: | 
|---|
 | 22 |     HBolt (); | 
|---|
 | 23 |     virtual ~HBolt (); | 
|---|
 | 24 |  | 
|---|
 | 25 |  | 
|---|
 | 26 |     virtual void activate(); | 
|---|
 | 27 |     virtual void deactivate(); | 
|---|
 | 28 |  | 
|---|
| [10274] | 29 |     virtual void hit (float damage, WorldEntity* entity); | 
|---|
| [10047] | 30 |  | 
|---|
 | 31 |     virtual void destroy (WorldEntity* killer); | 
|---|
 | 32 |  | 
|---|
 | 33 |     virtual void tick (float dt); | 
|---|
 | 34 |     virtual void draw () const; | 
|---|
 | 35 |  | 
|---|
 | 36 |   private: | 
|---|
 | 37 |     static FastFactory*               fastFactory; | 
|---|
 | 38 |  | 
|---|
 | 39 |     static SpriteParticles*           explosionParticles; | 
|---|
 | 40 |  | 
|---|
 | 41 |     ParticleEmitter*                  emitter; | 
|---|
 | 42 |  | 
|---|
 | 43 |     float                             angle; | 
|---|
 | 44 |     float                             rotationSpeed; | 
|---|
 | 45 |  | 
|---|
| [10063] | 46 |     Billboard*                        halo; | 
|---|
 | 47 |  | 
|---|
| [10047] | 48 |     WorldEntity* hitEntity; // FIXME TEMPORARY | 
|---|
 | 49 | }; | 
|---|
 | 50 |  | 
|---|
 | 51 | #endif /* _HBOLT_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.