// // RotateTo // CCRotateTo* CCRotateTo::actionWithDuration(ccTime duration, float fDeltaAngle) { CCRotateTo* pRotateTo = new CCRotateTo(); pRotateTo->initWithDuration(duration, fDeltaAngle); pRotateTo->autorelease(); return pRotateTo; }
CCRotateTo* CCRotateTo::create(float fDuration, float fDeltaAngleX, float fDeltaAngleY) { CCRotateTo* pRotateTo = new CCRotateTo(); pRotateTo->initWithDuration(fDuration, fDeltaAngleX, fDeltaAngleY); pRotateTo->autorelease(); return pRotateTo; }