static CCActionInterval* actionWithDuration(ccTime t) { CCShuffleTiles* shuffle = CCShuffleTiles::actionWithSeed(25, ccg(16,12), t); CCActionInterval* shuffle_back = shuffle->reverse(); CCDelayTime* delay = CCDelayTime::actionWithDuration(2); return (CCActionInterval*)(CCSequence::actions(shuffle, delay, shuffle_back, NULL)); }
static CCFiniteTimeAction* create(float t) { CCShuffleTiles* shuffle = CCShuffleTiles::create(t, CCSizeMake(16,12), 25); CCActionInterval* shuffle_back = shuffle->reverse(); CCDelayTime* delay = CCDelayTime::create(2); return CCSequence::create(shuffle, delay, shuffle_back, NULL); }
static CCActionInterval* create(float t) { CCShuffleTiles* shuffle = CCShuffleTiles::create(25, ccg(16,12), t); CCActionInterval* shuffle_back = shuffle->reverse(); CCDelayTime* delay = CCDelayTime::create(2); return (CCActionInterval*)(CCSequence::create(shuffle, delay, shuffle_back, NULL)); }