- Timestamp:
- Aug 22, 2011, 3:05:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/projectiles/ParticleProjectile.cc
r5929 r8855 27 27 */ 28 28 29 /** 30 @file ParticleProjectile.h 31 @brief Implementation of the ParticleProjectile class. 32 */ 33 29 34 #include "ParticleProjectile.h" 30 35 31 36 #include <OgreParticleEmitter.h> 37 #include "core/CoreIncludes.h" 32 38 #include "tools/ParticleInterface.h" 33 #include "core/CoreIncludes.h"34 39 #include "Scene.h" 35 40 … … 44 49 if (GameMode::showsGraphics()) 45 50 { 51 // Create the particles. 46 52 this->particles_ = new ParticleInterface(this->getScene()->getSceneManager(), "Orxonox/shot3_small", LODParticle::Normal); 47 53 this->attachOgreObject(this->particles_->getParticleSystem()); … … 63 69 } 64 70 71 /** 72 @brief 73 Is called when the visibility of the ParticleProjectile has changed. 74 */ 65 75 void ParticleProjectile::changedVisibility() 66 76 { 67 77 SUPER(ParticleProjectile, changedVisibility); 68 78 79 // Change the visibility of the particles. 69 80 if (this->particles_) 70 81 this->particles_->setEnabled(this->isVisible());
Note: See TracChangeset
for help on using the changeset viewer.