void ZwoptexTestScene::runThisTest() { auto layer = nextZwoptexTest(); addChild(layer); Director::getInstance()->replaceScene(this); }
void ZwoptexTestScene::runThisTest() { CCLayer* pLayer = nextZwoptexTest(); addChild(pLayer); CCDirector::sharedDirector()->replaceScene(this); }
void ZwoptexTest::nextCallback(Ref* sender) { auto s = ZwoptexTestScene::create(); s->addChild(nextZwoptexTest()); Director::getInstance()->replaceScene(s); }
void ZwoptexTest::nextCallback(CCObject* pSender) { CCScene *s = ZwoptexTestScene::create(); s->addChild(nextZwoptexTest()); CCDirector::sharedDirector()->replaceScene(s); }