当前位置: 首页>>代码示例>>C++>>正文


C++ ExtensionsTestScene::runThisTest方法代码示例

本文整理汇总了C++中ExtensionsTestScene::runThisTest方法的典型用法代码示例。如果您正苦于以下问题:C++ ExtensionsTestScene::runThisTest方法的具体用法?C++ ExtensionsTestScene::runThisTest怎么用?C++ ExtensionsTestScene::runThisTest使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ExtensionsTestScene的用法示例。


在下文中一共展示了ExtensionsTestScene::runThisTest方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: toExtensionsMainLayer

void SceneEditorTestLayer::toExtensionsMainLayer(cocos2d::CCObject *sender)
{

	ExtensionsTestScene *pScene = new ExtensionsTestScene();
	pScene->runThisTest();
	pScene->release();
}
开发者ID:chenxu111,项目名称:Cocos2d-x-For-CocoStudio,代码行数:7,代码来源:SceneEditorTestScene.cpp

示例2: MainMenuCallback

void CocosGUITestScene::MainMenuCallback(Object* pSender)
{
    ul->removeFromParent();
    ExtensionsTestScene *pScene = new ExtensionsTestScene();
	pScene->runThisTest();
	pScene->release();    
}
开发者ID:0x0c,项目名称:cocos2d-x,代码行数:7,代码来源:CocosGUIScene.cpp

示例3: toExtensionsMainLayer

void SceneEditorTestLayer::toExtensionsMainLayer(cocos2d::Object *sender)
{
    ComAudio *pBackMusic = (ComAudio*)(_curNode->getComponent("CCBackgroundAudio"));
    pBackMusic->stopBackgroundMusic();
	ExtensionsTestScene *pScene = new ExtensionsTestScene();
	pScene->runThisTest();
	pScene->release();
}  
开发者ID:csouls,项目名称:nyangame-v3,代码行数:8,代码来源:SceneEditorTest.cpp

示例4: toExtensionsMainLayer

void SocketIOTestLayer::toExtensionsMainLayer(cocos2d::Ref *sender)
{
	ExtensionsTestScene *scene = new ExtensionsTestScene();
    scene->runThisTest();
    scene->release();

	if(_sioEndpoint) _sioEndpoint->disconnect();
	if(_sioClient) _sioClient->disconnect();

}
开发者ID:AppleJDay,项目名称:cocos2d-x,代码行数:10,代码来源:SocketIOTest.cpp

示例5: toExtensionsMainLayer

void NotificationCenterTest::toExtensionsMainLayer(cocos2d::CCObject* sender)
{
    /* for testing removeAllObservers */
    int CC_UNUSED numObserversRemoved = CCNotificationCenter::sharedNotificationCenter()->removeAllObservers(this);
    CCAssert(numObserversRemoved >= 3, "All observers were not removed!");

    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
开发者ID:0309,项目名称:cocos2d-x,代码行数:10,代码来源:NotificationCenterTest.cpp

示例6: toExtensionsMainLayer

void CCControlScene::toExtensionsMainLayer(CCObject* sender)
{
    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
开发者ID:0309,项目名称:cocos2d-x,代码行数:6,代码来源:CCControlScene.cpp

示例7: BackCallback

void CocoStudioGUITestScene::BackCallback(Ref* pSender)
{
    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
开发者ID:Ju2ender,项目名称:Cocos2d-JS-E,代码行数:6,代码来源:CocoStudioGUITest.cpp

示例8: toExtensionsMainLayer

void HttpClientTest::toExtensionsMainLayer(cocos2d::CCObject *sender)
{
    ExtensionsTestScene *pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
开发者ID:0309,项目名称:cocos2d-x,代码行数:6,代码来源:HttpClientTest.cpp

示例9: toExtensionsMainLayer

void TableViewTestLayer::toExtensionsMainLayer(cocos2d::Object *sender)
{
	ExtensionsTestScene *scene = new ExtensionsTestScene();
	scene->runThisTest();
	scene->release();
}
开发者ID:aberaud,项目名称:cocos2d-x,代码行数:6,代码来源:TableViewTestScene.cpp

示例10: toExtensionsMainLayer

void NotificationCenterTest::toExtensionsMainLayer(cocos2d::CCObject* sender)
{
    ExtensionsTestScene* pScene = new ExtensionsTestScene();
    pScene->runThisTest();
    pScene->release();
}
开发者ID:AfterTheRainOfStars,项目名称:cocos2d-x-qt,代码行数:6,代码来源:NotificationCenterTest.cpp


注:本文中的ExtensionsTestScene::runThisTest方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。