|
PuzzleSDK
|
#include <SpriteTest.h>
类 SpriteBatchNode1 继承关系图:
SpriteBatchNode1 的协作图:Public 成员函数 | |
| CREATE_FUNC (SpriteBatchNode1) | |
| SpriteBatchNode1 () | |
| void | addNewSpriteWithCoords (cocos2d::Vec2 p) |
| void | onTouchesEnded (const std::vector< cocos2d::Touch * > &touches, cocos2d::Event *event) |
| virtual std::string | title () const override |
| virtual std::string | subtitle () const override |
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 |
| virtual void | onEnter () override |
额外继承的成员函数 | |
Public 类型 继承自 TestCase | |
| enum class | Type { ROBUSTNESS , UNIT , GRAPHICAL_STATIC , MANUAL } |
Public 属性 继承自 TestCase | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: virtual bool init() override |
Protected 属性 继承自 SpriteTestDemo | |
| std::string | _title |
Protected 属性 继承自 TestCase | |
| cocos2d::MenuItemImage * | _priorTestItem |
| cocos2d::MenuItemImage * | _restartTestItem |
| cocos2d::MenuItemImage * | _nextTestItem |
| cocos2d::Label * | _titleLabel |
| cocos2d::Label * | _subtitleLabel |
在文件 SpriteTest.h 第 70 行定义.
| SpriteBatchNode1::SpriteBatchNode1 | ( | ) |
在文件 SpriteTest.cpp 第 291 行定义.
引用了 addNewSpriteWithCoords(), kTagSpriteBatchNode , 以及 onTouchesEnded().
函数调用图:| void SpriteBatchNode1::addNewSpriteWithCoords | ( | cocos2d::Vec2 | p | ) |
在文件 SpriteTest.cpp 第 304 行定义.
引用了 kTagSpriteBatchNode.
被这些函数引用 onTouchesEnded() , 以及 SpriteBatchNode1().
这是这个函数的调用关系图:| SpriteBatchNode1::CREATE_FUNC | ( | SpriteBatchNode1 | ) |
| void SpriteBatchNode1::onTouchesEnded | ( | const std::vector< cocos2d::Touch * > & | touches, |
| cocos2d::Event * | event | ||
| ) |
|
overridevirtual |
重载 TestCase .
在文件 SpriteTest.cpp 第 354 行定义.
|
overridevirtual |