本文整理汇总了C++中CCScene::release方法的典型用法代码示例。如果您正苦于以下问题:C++ CCScene::release方法的具体用法?C++ CCScene::release怎么用?C++ CCScene::release使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CCScene
的用法示例。
在下文中一共展示了CCScene::release方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: nextCallback
void EaseSpriteDemo::nextCallback(CCObject* pSender)
{
CCScene* s = new EaseActionsTestScene();//CCScene::node();
s->addChild( nextEaseAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例2: nextCallback
void CommonDemo::nextCallback(CCObject* pSender)
{
CCScene* s = new CommonTestScene();
s->addChild( nextAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例3: backCallback
void TextInputTest::backCallback(CCObject* pSender)
{
CCScene* s = new TextInputTestScene();
s->addChild( backTextInputTest() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例4: backCallback
void ActionsDemo::backCallback(NSObject* pSender)
{
CCScene* s = new ActionsTestScene();
s->addChild( BackAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例5: backCallback
void TestCocosNodeDemo::backCallback(CCObject* pSender)
{
CCScene* s = new CocosNodeTestScene();//CCScene::node();
s->addChild( backCocosNodeAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例6: nextCallback
void ActionManagerTest::nextCallback(CCObject* pSender)
{
CCScene* s = new ActionManagerTestScene();
s->addChild( nextActionManagerAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例7: backCallback
void ShopScheduleTest::backCallback(CCObject* pSender)
{
CCScene* s = new ShopScheduleTestScene();
s->addChild( backShopScheduleTest() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例8: restartCallback
void AnimDemo::restartCallback(CCObject* pSender)
{
CCScene* s = new AnimTestScene();
s->addChild( restartAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例9: nextCallback
void ArmatureTestLayer::nextCallback(CCObject* pSender)
{
CCScene* s = new ArmatureTestScene();
s->addChild( NextTest() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例10: backCallback
void ParticleDemo::backCallback(CCObject* pSender)
{
CCScene* s = new ParticleTestScene();
s->addChild( backParticleAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例11: backCallback
void MotionStreakTest::backCallback(CCObject* pSender)
{
CCScene* s = new MotionStreakTestScene;//CCScene::create();
s->addChild( backMotionAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例12: nextCallback
void ParallaxDemo::nextCallback(CCObject* pSender)
{
CCScene* s = new ParallaxTestScene();
s->addChild( nextParallaxAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例13: backCallback
void EffectAdvanceTextLayer::backCallback(CCObject* pSender)
{
CCScene* s = new EffectAdvanceScene();
s->addChild( backEffectAdvanceAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例14: backCallback
void SceneEditorTestLayer::backCallback(CCObject *pSender)
{
CCScene *s = new SceneEditorTestScene();
s->addChild(Back());
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}
示例15: nextCallback
void SpriteDemo::nextCallback(CCObject* pSender)
{
CCScene* s = new ProgressActionsTestScene();
s->addChild( nextAction() );
CCDirector::sharedDirector()->replaceScene(s);
s->release();
}