void SoundManager::fadeOutEffect(int effect) { auto changeDown = ActionTween::create(0.5*director->getScheduler()->getTimeScale(), String::createWithFormat("fadeOutEffect%d", effect)->getCString(), 1, 0); changeDown->startWithTarget(this); }
void LFTwirl::preCreatGrid(CCNode* actionTarget) { CCAssert(actionTarget!=NULL,""); startWithTarget(actionTarget); }