| 272 | // implementation ParticleSystem |
| 273 | |
| 274 | ParticleSystem* ParticleSystem::create(std::string_view plistFile) |
| 275 | { |
| 276 | ParticleSystem* ret = new ParticleSystem(); |
| 277 | if (ret->initWithFile(plistFile)) |
| 278 | { |
| 279 | ret->autorelease(); |
| 280 | return ret; |
| 281 | } |
| 282 | AX_SAFE_DELETE(ret); |
| 283 | return ret; |
| 284 | } |
| 285 | |
| 286 | ParticleSystem* ParticleSystem::createWithTotalParticles(int numberOfParticles) |
| 287 | { |
nothing calls this directly
no test coverage detected