|
PuzzleSDK
|
#include <TouchesTest.h>
类 PongLayer 继承关系图:
PongLayer 的协作图:Public 成员函数 | |
| CREATE_FUNC (PongLayer) | |
| PongLayer () | |
| ~PongLayer () | |
| void | resetAndScoreBallForPlayer (int player) |
| void | doStep (float delta) |
Private 属性 | |
| Ball * | _ball |
| cocos2d::Vector< Paddle * > | _paddles |
| cocos2d::Vec2 | _ballStartingVelocity |
在文件 TouchesTest.h 第 43 行定义.
| PongLayer::PongLayer | ( | ) |
在文件 TouchesTest.cpp 第 73 行定义.
引用了 _ball, _ballStartingVelocity, _paddles, Ball::ballWithTexture(), VisibleRect::bottom(), VisibleRect::center(), Paddle::createWithTexture(), doStep(), VisibleRect::getVisibleRect(), kStatusBarHeight, s_Ball, s_Paddle , 以及 Ball::setVelocity().
函数调用图:| PongLayer::~PongLayer | ( | ) |
在文件 TouchesTest.cpp 第 114 行定义.
| PongLayer::CREATE_FUNC | ( | PongLayer | ) |
| void PongLayer::doStep | ( | float | delta | ) |
在文件 TouchesTest.cpp 第 127 行定义.
引用了 _ball, _paddles, VisibleRect::bottom(), Ball::collideWithPaddle(), kHighPlayer, kLowPlayer, kStatusBarHeight, Ball::move(), Ball::radius(), resetAndScoreBallForPlayer() , 以及 VisibleRect::top().
被这些函数引用 PongLayer().
函数调用图:
这是这个函数的调用关系图:| void PongLayer::resetAndScoreBallForPlayer | ( | int | player | ) |
在文件 TouchesTest.cpp 第 118 行定义.
引用了 _ball, _ballStartingVelocity, VisibleRect::center() , 以及 Ball::setVelocity().
被这些函数引用 doStep().
函数调用图:
这是这个函数的调用关系图:
|
private |
在文件 TouchesTest.h 第 46 行定义.
被这些函数引用 doStep(), PongLayer() , 以及 resetAndScoreBallForPlayer().
|
private |
在文件 TouchesTest.h 第 48 行定义.
被这些函数引用 PongLayer() , 以及 resetAndScoreBallForPlayer().
|
private |
在文件 TouchesTest.h 第 47 行定义.
被这些函数引用 doStep() , 以及 PongLayer().