| 284 | } |
| 285 | |
| 286 | ParticleSystem* ParticleSystem::createWithTotalParticles(int numberOfParticles) |
| 287 | { |
| 288 | ParticleSystem* ret = new ParticleSystem(); |
| 289 | if (ret->initWithTotalParticles(numberOfParticles)) |
| 290 | { |
| 291 | ret->autorelease(); |
| 292 | return ret; |
| 293 | } |
| 294 | AX_SAFE_DELETE(ret); |
| 295 | return ret; |
| 296 | } |
| 297 | |
| 298 | // static |
| 299 | Vector<ParticleSystem*>& ParticleSystem::getAllParticleSystems() |
nothing calls this directly
no test coverage detected