static CCFiniteTimeAction* create(float t) { CCFlipY3D* flipy = CCFlipY3D::create(t); CCActionInterval* flipy_back = flipy->reverse(); CCDelayTime* delay = CCDelayTime::create(2); return CCSequence::create(flipy, delay, flipy_back, NULL); }
static CCActionInterval* actionWithDuration(ccTime t) { CCFlipY3D* flipy = CCFlipY3D::actionWithDuration(t); CCActionInterval* flipy_back = flipy->reverse(); CCDelayTime* delay = CCDelayTime::actionWithDuration(2); return (CCActionInterval*)(CCSequence::actions(flipy, delay, flipy_back, NULL)); }