// // FadeTo // CCFadeTo* CCFadeTo::actionWithDuration(ccTime duration, CCubyte opacity) { CCFadeTo *pFadeTo = new CCFadeTo(); pFadeTo->initWithDuration(duration, opacity); pFadeTo->autorelease(); return pFadeTo; }
// // FadeTo // CCFadeTo* CCFadeTo::create(float duration, CCubyte opacity) { CCFadeTo *pFadeTo = new CCFadeTo(); pFadeTo->initWithDuration(duration, opacity); pFadeTo->autorelease(); return pFadeTo; }