|
PuzzleSDK
|
#include <LightTest.h>
类 LightTest 继承关系图:
LightTest 的协作图:Public 成员函数 | |
| CREATE_FUNC (LightTest) | |
| LightTest () | |
| virtual | ~LightTest () |
| virtual std::string | title () const override |
| virtual void | update (float delta) override |
| void | SwitchLight (cocos2d::Ref *sender, cocos2d::LightType lightType) |
Public 成员函数 继承自 TestCase | |
| TestCase () | |
| ~TestCase () | |
| virtual std::string | subtitle () const |
| virtual Type | getTestType () const |
| virtual float | getDuration () const |
| virtual std::string | getExpectedOutput () const |
| virtual std::string | getActualOutput () const |
| virtual void | restartTestCallback (cocos2d::Ref *sender) |
| virtual void | nextTestCallback (cocos2d::Ref *sender) |
| virtual void | priorTestCallback (cocos2d::Ref *sender) |
| virtual void | onBackCallback (cocos2d::Ref *sender) |
| void | setTestSuite (TestSuite *testSuite) |
| TestSuite * | getTestSuite () const |
| float | getRunTime () const |
| void | setTestCaseName (const std::string &name) |
| std::string | getTestCaseName () const |
| const cocos2d::Label * | getSubtitleLable () const |
| const cocos2d::MenuItemImage * | getRestartTestItem () const |
| virtual void | onEnter () override |
Private 成员函数 | |
| void | addSprite () |
| void | addLights () |
Private 属性 | |
| cocos2d::AmbientLight * | _ambientLight |
| cocos2d::DirectionLight * | _directionalLight |
| cocos2d::PointLight * | _pointLight |
| cocos2d::SpotLight * | _spotLight |
| cocos2d::Label * | _ambientLightLabel |
| cocos2d::Label * | _directionalLightLabel |
| cocos2d::Label * | _pointLightLabel |
| cocos2d::Label * | _spotLightLabel |
额外继承的成员函数 | |
Public 类型 继承自 TestCase | |
| enum class | Type { ROBUSTNESS , UNIT , GRAPHICAL_STATIC , MANUAL } |
Public 属性 继承自 TestCase | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: virtual bool init() override |
Protected 属性 继承自 TestCase | |
| cocos2d::MenuItemImage * | _priorTestItem |
| cocos2d::MenuItemImage * | _restartTestItem |
| cocos2d::MenuItemImage * | _nextTestItem |
| cocos2d::Label * | _titleLabel |
| cocos2d::Label * | _subtitleLabel |
在文件 LightTest.h 第 33 行定义.
| LightTest::LightTest | ( | ) |
在文件 LightTest.cpp 第 34 行定义.
引用了 _ambientLightLabel, _directionalLightLabel, _pointLightLabel, _spotLightLabel, addLights(), addSprite(), VisibleRect::left(), SwitchLight() , 以及 VisibleRect::top().
函数调用图:
|
virtual |
在文件 LightTest.cpp 第 77 行定义.
引用了 _ambientLight, _directionalLight, _directionalLightLabel, _pointLight, _pointLightLabel, _spotLight , 以及 _spotLightLabel.
|
private |
在文件 LightTest.cpp 第 166 行定义.
引用了 _ambientLight, _directionalLight, _pointLight , 以及 _spotLight.
被这些函数引用 LightTest().
这是这个函数的调用关系图:
|
private |
| LightTest::CREATE_FUNC | ( | LightTest | ) |
| void LightTest::SwitchLight | ( | cocos2d::Ref * | sender, |
| cocos2d::LightType | lightType | ||
| ) |
在文件 LightTest.cpp 第 259 行定义.
引用了 _ambientLight, _ambientLightLabel, _directionalLight, _directionalLightLabel, _pointLight, _pointLightLabel, _spotLight , 以及 _spotLightLabel.
被这些函数引用 LightTest().
这是这个函数的调用关系图:
|
overridevirtual |
|
overridevirtual |
在文件 LightTest.cpp 第 230 行定义.
引用了 _directionalLight, _pointLight , 以及 _spotLight.
|
private |
在文件 LightTest.h 第 53 行定义.
被这些函数引用 addLights(), SwitchLight() , 以及 ~LightTest().
|
private |
在文件 LightTest.h 第 58 行定义.
被这些函数引用 LightTest() , 以及 SwitchLight().
|
private |
在文件 LightTest.h 第 54 行定义.
被这些函数引用 addLights(), SwitchLight(), update() , 以及 ~LightTest().
|
private |
在文件 LightTest.h 第 59 行定义.
被这些函数引用 LightTest(), SwitchLight() , 以及 ~LightTest().
|
private |
在文件 LightTest.h 第 55 行定义.
被这些函数引用 addLights(), SwitchLight(), update() , 以及 ~LightTest().
|
private |
在文件 LightTest.h 第 60 行定义.
被这些函数引用 LightTest(), SwitchLight() , 以及 ~LightTest().
|
private |
在文件 LightTest.h 第 56 行定义.
被这些函数引用 addLights(), SwitchLight(), update() , 以及 ~LightTest().
|
private |
在文件 LightTest.h 第 61 行定义.
被这些函数引用 LightTest(), SwitchLight() , 以及 ~LightTest().