|
PuzzleSDK
|
The cocos2d Application. 更多...
#include <AppDelegate.h>
类 AppDelegate 继承关系图:
AppDelegate 的协作图:Public 成员函数 | |
| AppDelegate () | |
| virtual | ~AppDelegate () |
| virtual void | initGLContextAttrs () |
| virtual bool | applicationDidFinishLaunching () |
| Implement Director and cocos2d::Scene* init code here. 更多... | |
| virtual void | applicationDidEnterBackground () |
| Called when the application moves to the background 更多... | |
| virtual void | applicationWillEnterForeground () |
| Called when the application reenters the foreground 更多... | |
Private 属性 | |
| TestController * | _testController |
The cocos2d Application.
Private inheritance here hides part of interface from Director.
在文件 AppDelegate.h 第 38 行定义.
| AppDelegate::AppDelegate | ( | ) |
在文件 AppDelegate.cpp 第 35 行定义.
|
virtual |
在文件 AppDelegate.cpp 第 40 行定义.
|
virtual |
Called when the application moves to the background
| the | pointer of the application |
在文件 AppDelegate.cpp 第 113 行定义.
引用了 _testController.
|
virtual |
Implement Director and cocos2d::Scene* init code here.
在文件 AppDelegate.cpp 第 57 行定义.
引用了 _testController , 以及 TestController::getInstance().
函数调用图:
|
virtual |
Called when the application reenters the foreground
| the | pointer of the application |
在文件 AppDelegate.cpp 第 124 行定义.
引用了 _testController.
|
virtual |
在文件 AppDelegate.cpp 第 49 行定义.
|
private |
在文件 AppDelegate.h 第 66 行定义.
被这些函数引用 applicationDidEnterBackground(), applicationDidFinishLaunching() , 以及 applicationWillEnterForeground().