CCAnimate* CCAnimate::actionWithAnimation(CCAnimation *pAnimation, bool bRestoreOriginalFrame) { CCAnimate *pAnimate = new CCAnimate(); pAnimate->initWithAnimation(pAnimation, bRestoreOriginalFrame); pAnimate->autorelease(); return pAnimate; }
// // Animate // CCAnimate* CCAnimate::actionWithAnimation(CCAnimation *pAnimation) { CCAnimate *pAnimate = new CCAnimate(); pAnimate->initWithAnimation(pAnimation, true); pAnimate->autorelease(); return pAnimate; }