void AtlasDemo::backCallback(NSObject* pSender) { CCScene* s = new AtlasTestScene(); s->addChild( backAtlasAction() ); CCDirector::sharedDirector()->replaceScene(s); s->release(); }
void AtlasDemo::backCallback(Object* sender) { auto s = new AtlasTestScene(); s->addChild( backAtlasAction() ); Director::getInstance()->replaceScene(s); s->release(); }