CCEaseInOut* CCEaseInOut::create ( CCActionInterval* pAction, KDfloat fRate ) { CCEaseInOut* pRet = new CCEaseInOut ( ); if ( pRet && pRet->initWithAction ( pAction, fRate ) ) { pRet->autorelease ( ); } else { CC_SAFE_DELETE ( pRet ); } return pRet; }
// // EaseInOut // CCEaseInOut* CCEaseInOut::actionWithAction(cocos2d::CCIntervalAction *pAction, float fRate) { CCEaseInOut *pRet = new CCEaseInOut(); if (pRet) { if (pRet->initWithAction(pAction, fRate)) { pRet->autorelease(); } else { CCX_SAFE_RELEASE_NULL(pRet); } } return pRet; }
CCEaseInOut* CCEaseInOut::create(CCActionInterval *pAction, float fRate) { CCEaseInOut *pRet = new CCEaseInOut(); if (pRet) { if (pRet->initWithAction(pAction, fRate)) { pRet->autorelease(); } else { CC_SAFE_RELEASE_NULL(pRet); } } return pRet; }