本文整理汇总了C++中ExtensionsTestScene类的典型用法代码示例。如果您正苦于以下问题:C++ ExtensionsTestScene类的具体用法?C++ ExtensionsTestScene怎么用?C++ ExtensionsTestScene使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了ExtensionsTestScene类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ExtensionsTestScene
void SceneEditorTestLayer::toExtensionsMainLayer(cocos2d::CCObject *sender)
{
ExtensionsTestScene *pScene = new ExtensionsTestScene();
pScene->runThisTest();
pScene->release();
}
示例2: ExtensionsTestScene
void CocosGUITestScene::MainMenuCallback(Object* pSender)
{
ul->removeFromParent();
ExtensionsTestScene *pScene = new ExtensionsTestScene();
pScene->runThisTest();
pScene->release();
}
示例3: ExtensionsTestScene
void SceneEditorTestLayer::toExtensionsMainLayer(cocos2d::Object *sender)
{
ComAudio *pBackMusic = (ComAudio*)(_curNode->getComponent("CCBackgroundAudio"));
pBackMusic->stopBackgroundMusic();
ExtensionsTestScene *pScene = new ExtensionsTestScene();
pScene->runThisTest();
pScene->release();
}
示例4: ExtensionsTestScene
void SocketIOTestLayer::toExtensionsMainLayer(cocos2d::Ref *sender)
{
ExtensionsTestScene *scene = new ExtensionsTestScene();
scene->runThisTest();
scene->release();
if(_sioEndpoint) _sioEndpoint->disconnect();
if(_sioClient) _sioClient->disconnect();
}
示例5: CCAssert
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();
}
示例6: ExtensionsTestScene
void CCControlScene::toExtensionsMainLayer(CCObject* sender)
{
ExtensionsTestScene* pScene = new ExtensionsTestScene();
pScene->runThisTest();
pScene->release();
}
示例7: ExtensionsTestScene
void CocoStudioGUITestScene::BackCallback(Ref* pSender)
{
ExtensionsTestScene* pScene = new ExtensionsTestScene();
pScene->runThisTest();
pScene->release();
}
示例8: ExtensionsTestScene
void HttpClientTest::toExtensionsMainLayer(cocos2d::CCObject *sender)
{
ExtensionsTestScene *pScene = new ExtensionsTestScene();
pScene->runThisTest();
pScene->release();
}
示例9: ExtensionsTestScene
void TableViewTestLayer::toExtensionsMainLayer(cocos2d::Object *sender)
{
ExtensionsTestScene *scene = new ExtensionsTestScene();
scene->runThisTest();
scene->release();
}
示例10: ExtensionsTestScene
void NotificationCenterTest::toExtensionsMainLayer(cocos2d::CCObject* sender)
{
ExtensionsTestScene* pScene = new ExtensionsTestScene();
pScene->runThisTest();
pScene->release();
}