cocos2d-x 对一个普通方法进行延时执行操作

  CCDelayTime* delayTime = CCDelayTime::create(0.7f);


                CCCallFunc *callFunND = CCCallFunc::create(this, callfunc_selector(SnatchDeveloper::refurbishListData));

                CCFiniteTimeAction* seq = CCSequence::create(delayTime, callFunND, NULL);

                //然后进行播放

                CCSequence *action = CCSequence::create(seq );

                this->runAction(action);

你可能感兴趣的:(cocos2d-x 对一个普通方法进行延时执行操作)