Пример #1
0
void AtlasTestScene::runThisTest()
{
    CCLayer* pLayer = nextAtlasAction();
    addChild(pLayer);

    CCDirector::sharedDirector()->replaceScene(this);
}
Пример #2
0
void AtlasDemo::nextCallback(NSObject* pSender)
{
	CCScene* s = new AtlasTestScene();
	s->addChild( nextAtlasAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
Пример #3
0
void AtlasDemo::nextCallback(Object* sender)
{
    auto s = new AtlasTestScene();
    s->addChild( nextAtlasAction() );
    Director::getInstance()->replaceScene(s);
    s->release();
}
Пример #4
0
void AtlasTestScene::runThisTest()
{
    sceneIdx = -1;
    auto layer = nextAtlasAction();
    addChild(layer);

    Director::getInstance()->replaceScene(this);
}