CCAnimation* CCAnimation::animationWithFrames(CCMutableArray<CCSpriteFrame*> *frames, float delay) { CCAnimation *pAnimation = new CCAnimation(); pAnimation->initWithFrames(frames, delay); pAnimation->autorelease(); return pAnimation; }
CCAnimation* CCAnimation::animationWithFrames(CCArray<CCSpriteFrame*> *frames) { CCAnimation *pAnimation = new CCAnimation(); pAnimation->initWithFrames(frames); pAnimation->autorelease(); return pAnimation; }