Changeset 4436 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_system.cc
- Timestamp:
- Jun 1, 2005, 12:50:07 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_system.cc
r4434 r4436 85 85 if (this->material) 86 86 delete this->material; 87 }88 89 /**90 \brief sets the Name of the Particle System91 \param name the Name of the System92 */93 void ParticleSystem::setName(const char* name)94 {95 if (this->name)96 delete this->name;97 this->name = new char[strlen(name)+1];98 strcpy(this->name, name);99 }100 101 /**102 \returns the Name of the ParticleSystem103 */104 const char* ParticleSystem::getName(void) const105 {106 return this->name;107 87 } 108 88
Note: See TracChangeset
for help on using the changeset viewer.