Пример #1
0
void ZwoptexTestScene::runThisTest()
{
    auto layer = nextZwoptexTest();
    addChild(layer);

    Director::getInstance()->replaceScene(this);
}
Пример #2
0
void ZwoptexTestScene::runThisTest()
{
    CCLayer* pLayer = nextZwoptexTest();
    addChild(pLayer);

    CCDirector::sharedDirector()->replaceScene(this);
}
Пример #3
0
void ZwoptexTest::nextCallback(Ref* sender)
{
    auto s = ZwoptexTestScene::create();
    s->addChild(nextZwoptexTest());
    Director::getInstance()->replaceScene(s);
}
Пример #4
0
void ZwoptexTest::nextCallback(CCObject* pSender)
{
    CCScene *s = ZwoptexTestScene::create();
    s->addChild(nextZwoptexTest());
    CCDirector::sharedDirector()->replaceScene(s);
}