mirror of https://github.com/axmolengine/axmol.git
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
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();
|
|
|
|
void setDepthTest(bool var);
|
|
|
|
static CCDirector* sharedDirector(void);
|
|
};
|