Changeset 9686 in orxonox.OLD for branches/new_class_id/src/lib/particles/particle_system.cc
- Timestamp:
- Aug 22, 2006, 2:36:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/particles/particle_system.cc
r9656 r9686 32 32 #include <algorithm> 33 33 34 NewObjectListDefinition(ParticleSystem); 34 35 35 36 /** … … 40 41 ParticleSystem::ParticleSystem (unsigned int maxCount) 41 42 { 42 this-> setClassID(CL_PARTICLE_SYSTEM, "ParticleSystem");43 this->registerObject(this, ParticleSystem::_objectList); 43 44 44 45 this->setMaxCount(PARTICLE_DEFAULT_MAX_COUNT); … … 134 135 if (emitter != NULL) 135 136 { 136 if (emitter->isA( CL_PARTICLE_EMITTER))137 if (emitter->isA(ParticleEmitter::classID())) 137 138 this->addEmitter(dynamic_cast<ParticleEmitter*>(emitter)); 138 139 else
Note: See TracChangeset
for help on using the changeset viewer.