|
PuzzleSDK
|
#include <SpritePolygonTest.h>
类 SpritePolygonPerformanceTestDynamic 继承关系图:
SpritePolygonPerformanceTestDynamic 的协作图:Public 成员函数 | |
| CREATE_FUNC (SpritePolygonPerformanceTestDynamic) | |
| SpritePolygonPerformanceTestDynamic () | |
Public 成员函数 继承自 SpritePolygonPerformance | |
| CREATE_FUNC (SpritePolygonPerformance) | |
| SpritePolygonPerformance () | |
Public 成员函数 继承自 TestCase | |
| TestCase () | |
| ~TestCase () | |
| 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 |
Protected 成员函数 | |
| cocos2d::Sprite * | makeSprite () override |
| virtual void | initIncrementStats () override |
Protected 成员函数 继承自 SpritePolygonPerformance | |
| void | updateLabel () |
| virtual void | update (float dt) override |
| virtual bool | init () override |
| void | incrementStats () |
Protected 成员函数 继承自 SpritePolygonTestCase | |
| virtual std::string | title () const override |
| virtual std::string | subtitle () const override |
| virtual void | onEnter () override |
| virtual void | onExit () override |
| SpritePolygonTestCase () | |
| ~SpritePolygonTestCase () | |
| void | updateDrawNode () |
Protected 属性 | |
| cocos2d::PolygonInfo | _pinfo |
Protected 属性 继承自 SpritePolygonPerformance | |
| int | _spriteCount |
| int | _vertCount |
| int | _triCount |
| int | _pixelCount |
| float | _elapsedTime |
| cocos2d::Label * | _perfLabel |
| int | _continuousLowDt |
| float | _continuousHighDtTime |
| float | _waitingTime |
| int | _posX |
| int | _posY |
| int | _leftX |
| int | _rightX |
| bool | goRight |
| bool | ended |
| float | prevDt |
| unsigned int | _incVert |
| unsigned int | _incTri |
| unsigned int | _incPix |
Protected 属性 继承自 SpritePolygonTestCase | |
| std::string | _title |
| std::string | _subtitle |
| bool | _isDebugDraw |
| bool | _isNeedDebugMenu |
| cocos2d::Vector< cocos2d::DrawNode * > | _drawNodes |
Protected 属性 继承自 TestCase | |
| cocos2d::MenuItemImage * | _priorTestItem |
| cocos2d::MenuItemImage * | _restartTestItem |
| cocos2d::MenuItemImage * | _nextTestItem |
| cocos2d::Label * | _titleLabel |
| cocos2d::Label * | _subtitleLabel |
额外继承的成员函数 | |
Public 类型 继承自 TestCase | |
| enum class | Type { ROBUSTNESS , UNIT , GRAPHICAL_STATIC , MANUAL } |
Public 属性 继承自 TestCase | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: virtual bool init() override |
在文件 SpritePolygonTest.h 第 159 行定义.
| SpritePolygonPerformanceTestDynamic::SpritePolygonPerformanceTestDynamic | ( | ) |
在文件 SpritePolygonTest.cpp 第 633 行定义.
引用了 SpritePolygonTestCase::_subtitle , 以及 SpritePolygonTestCase::_title.
| SpritePolygonPerformanceTestDynamic::CREATE_FUNC | ( | SpritePolygonPerformanceTestDynamic | ) |
|
overrideprotectedvirtual |
在文件 SpritePolygonTest.cpp 第 625 行定义.
引用了 SpritePolygonPerformance::_incPix, SpritePolygonPerformance::_incTri, SpritePolygonPerformance::_incVert, _pinfo , 以及 s_pathGrossini.
|
overrideprotectedvirtual |
|
protected |
在文件 SpritePolygonTest.h 第 166 行定义.
被这些函数引用 initIncrementStats() , 以及 makeSprite().