mirror of https://github.com/axmolengine/axmol.git
43 lines
1007 B
Plaintext
43 lines
1007 B
Plaintext
|
|
class CCDirector : public CCObject
|
|
{
|
|
CCScene* getRunningScene(void);
|
|
|
|
double getAnimationInterval(void);
|
|
|
|
bool isDisplayStats(void);
|
|
void setDisplayStats(bool bDisplayFPS);
|
|
|
|
bool isPaused(void);
|
|
unsigned int getTotalFrames(void);
|
|
|
|
CCEGLView* getOpenGLView(void);
|
|
bool enableRetinaDisplay(bool bEnableRetina);
|
|
|
|
CCSize getWinSize(void);
|
|
CCSize getWinSizeInPixels(void);
|
|
|
|
CCPoint convertToGL(CCPoint obPoint);
|
|
CCPoint convertToUI(CCPoint obPoint);
|
|
|
|
void pause();
|
|
void resume();
|
|
void purgeCachedData(void);
|
|
|
|
void runWithScene(CCScene *pScene);
|
|
void pushScene(CCScene *pScene);
|
|
void popScene(void);
|
|
void replaceScene(CCScene *pScene);
|
|
void endToLua();
|
|
|
|
float getContentScaleFactor(void);
|
|
|
|
CCScheduler* getScheduler();
|
|
CCActionManager* getActionManager();
|
|
CCTouchDispatcher* getTouchDispatcher();
|
|
CCKeypadDispatcher* getKeypadDispatcher();
|
|
CCAccelerometer* getAccelerometer();
|
|
|
|
static CCDirector* sharedDirector(void);
|
|
};
|