Changeset 3923 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/graphics/partices/particle_engine.cc
- Timestamp:
- Apr 21, 2005, 3:04:21 PM (19 years ago)
- Location:
- orxonox/branches/particleEngine/src/lib/graphics/partices
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/partices/particle_engine.cc
r3922 r3923 24 24 \brief standard constructor 25 25 */ 26 P rotoSingleton::ProtoSingleton()26 ParticleEngine::ParticleEngine () 27 27 { 28 this->setClassName ("P rotoSingleton");28 this->setClassName ("ParticleEngine"); 29 29 30 30 } … … 33 33 \brief the singleton reference to this class 34 34 */ 35 P rotoSingleton* ProtoSingleton::singletonRef = NULL;35 ParticleEngine* ParticleEngine::singletonRef = NULL; 36 36 37 37 /** 38 38 \returns a Pointer to this Class 39 39 */ 40 P rotoSingleton* ProtoSingleton::getInstance(void)40 ParticleEngine* ParticleEngine::getInstance(void) 41 41 { 42 if (!P rotoSingleton::singletonRef)43 P rotoSingleton::singletonRef = new ProtoSingleton();44 return P rotoSingleton::singletonRef;42 if (!ParticleEngine::singletonRef) 43 ParticleEngine::singletonRef = new ParticleEngine(); 44 return ParticleEngine::singletonRef; 45 45 } 46 46 47 47 /** 48 \brief standard de constructor48 \brief standard destructor 49 49 50 50 */ 51 P rotoSingleton::~ProtoSingleton()51 ParticleEngine::~ParticleEngine () 52 52 { 53 P rotoSingleton::singletonRef = NULL;53 ParticleEngine::singletonRef = NULL; 54 54 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.