예제 #1
0
void EffectAdvanceTextLayer::backCallback(NSObject* pSender)
{
	CCScene* s = new EffectAdvanceScene();
	s->addChild( backEffectAdvanceAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
} 
예제 #2
0
void EffectAdvanceTextLayer::backCallback(Object* sender)
{
    auto s = new EffectAdvanceScene();
    s->addChild( backEffectAdvanceAction() );
    Director::getInstance()->replaceScene(s);
    s->release();
}