Exemplo n.º 1
0
void ActionManagerTest::nextCallback(Ref* sender)
{
    auto s = new ActionManagerTestScene();
    s->addChild( nextActionManagerAction() );
    Director::getInstance()->replaceScene(s);
    s->release();
}
Exemplo n.º 2
0
//------------------------------------------------------------------
//
// ActionManagerTestScene
//
//------------------------------------------------------------------
void ActionManagerTestScene::runThisTest()
{
    CCLayer* pLayer = nextActionManagerAction();
    addChild(pLayer);

    CCDirector::sharedDirector()->replaceScene(this);
}
Exemplo n.º 3
0
//------------------------------------------------------------------
//
// ActionManagerTestScene
//
//------------------------------------------------------------------
void ActionManagerTestScene::runThisTest()
{
    auto layer = nextActionManagerAction();
    addChild(layer);

    Director::getInstance()->replaceScene(this);
}
Exemplo n.º 4
0
void ActionManagerTest::nextCallback(CCObject* pSender)
{
	CCScene* s = new ActionManagerTestScene();
	s->addChild( nextActionManagerAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}