Changeset 10908 for code/branches/particleEffectsHS15/src/modules/weapons/projectiles/MineProjectile.h
- Timestamp:
- Nov 30, 2015, 10:55:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/particleEffectsHS15/src/modules/weapons/projectiles/MineProjectile.h
r10897 r10908 21 21 * 22 22 * Author: 23 * Jannis Holzer 23 24 * Fabien Vultier 24 25 * Co-authors: … … 60 61 virtual void setMaxTimeUntilExplosion(float maxTimeUntilExplosion); 61 62 virtual void setTimeUntilActivation(float timeUntilActivation); 62 63 protected: 64 static const float triggerRadius_; 65 static const float damageRadius_; 66 static const float collisionShapeRadius_; 63 67 private: 64 bool bA ctive_; // The mine can only explode if it is active68 bool bAllowExplosion_; // The mine can only explode if it is active 65 69 float maxTimeUntilExplosion_; 66 70 float timeUntilActivation_; … … 70 74 Model* modelRing1_; 71 75 Model* modelRing2_; 72 MovableEntity* rings_; 76 Model* modelRing3_; 77 Model* modelRing4_; 78 MovableEntity* rings1_; 79 MovableEntity* rings2_; 80 MovableEntity* core_; 81 ParticleEmitter* emitter_; 73 82 74 83 WeakPtr<SphereCollisionShape> collisionShape_; // The collision shape of the projectile. 75 84 WeakPtr<DistanceTrigger> distanceTrigger_; 76 85 77 virtual void Activate(); 78 virtual void Explode(); 86 virtual void destructionEffect(); 87 virtual void allowExplosion(); 88 virtual void explode(); 79 89 }; 80 90 }
Note: See TracChangeset
for help on using the changeset viewer.