CCEaseBounce* CCEaseBounce::create ( CCActionInterval* pAction ) { CCEaseBounce* pRet = new CCEaseBounce ( ); if ( pRet && pRet->initWithAction ( pAction ) ) { pRet->autorelease ( ); } else { CC_SAFE_DELETE ( pRet ); } return pRet; }
// // EaseBounce // CCEaseBounce* CCEaseBounce::actionWithAction(CCIntervalAction* pAction) { CCEaseBounce *pRet = new CCEaseBounce(); if (pRet) { if (pRet->initWithAction(pAction)) { pRet->autorelease(); } else { CCX_SAFE_RELEASE_NULL(pRet); } } return pRet; }
CCEaseBounce* CCEaseBounce::create(CCActionInterval* pAction) { CCEaseBounce *pRet = new CCEaseBounce(); if (pRet) { if (pRet->initWithAction(pAction)) { pRet->autorelease(); } else { CC_SAFE_RELEASE_NULL(pRet); } } return pRet; }