#include <SceneTest.h>
◆ SceneTestLayer2()
| SceneTestLayer2::SceneTestLayer2 |
( |
| ) |
|
在文件 SceneTest.cpp 第 124 行定义.
132 auto menu = Menu::create( item1, item2, item3,
nullptr );
133 menu->alignItemsVertically();
137 auto s = Director::getInstance()->getWinSize();
140 sprite->setPosition( Vec2(s.width-40, s.height/2) );
141 auto rotate = RotateBy::create(2, 360);
142 auto repeat = RepeatForever::create(rotate);
143 sprite->runAction(repeat);
void onReplaceSceneTran(cocos2d::Ref *sender)
void onReplaceScene(cocos2d::Ref *sender)
void onGoBack(cocos2d::Ref *sender)
void testDealloc(float dt)
static const char s_pathGrossini[]
引用了 _timeCounter, onGoBack(), onReplaceScene(), onReplaceSceneTran(), s_pathGrossini , 以及 testDealloc().
◆ CREATE_FUNC()
◆ onGoBack()
| void SceneTestLayer2::onGoBack |
( |
cocos2d::Ref * |
sender | ) |
|
◆ onReplaceScene()
| void SceneTestLayer2::onReplaceScene |
( |
cocos2d::Ref * |
sender | ) |
|
◆ onReplaceSceneTran()
| void SceneTestLayer2::onReplaceSceneTran |
( |
cocos2d::Ref * |
sender | ) |
|
◆ testDealloc()
| void SceneTestLayer2::testDealloc |
( |
float |
dt | ) |
|
◆ _timeCounter
| float SceneTestLayer2::_timeCounter |
|
private |
该类的文档由以下文件生成:
- /Users/yujizhu/Documents/Git/cocos2d-x-4.0/tests/cpp-tests/Classes/SceneTest/SceneTest.h
- /Users/yujizhu/Documents/Git/cocos2d-x-4.0/tests/cpp-tests/Classes/SceneTest/SceneTest.cpp