ParticleExplosion* ParticleExplosion::create() { ParticleExplosion* ret = new (std::nothrow) ParticleExplosion(); if (ret && ret->init()) { ret->autorelease(); } else { CC_SAFE_DELETE(ret); } return ret; }
ParticleExplosion* ParticleExplosion::create() { ParticleExplosion* pRet = new ParticleExplosion(); if (pRet && pRet->init()) { pRet->autorelease(); } else { CC_SAFE_DELETE(pRet); } return pRet; }