mirror of https://github.com/axmolengine/axmol.git
42 lines
968 B
Plaintext
42 lines
968 B
Plaintext
|
|
class CCDirector : public CCObject
|
|
{
|
|
CCScene* getRunningScene(void);
|
|
|
|
double getAnimationInterval(void);
|
|
void setAnimationInterval(double dValue);
|
|
|
|
bool isDisplayFPS(void);
|
|
void setDisplayFPS(bool bDisplayFPS);
|
|
|
|
bool isRetinaDisplay();
|
|
bool isPaused(void);
|
|
bool isSendCleanupToScene(void);
|
|
unsigned int getFrames(void);
|
|
|
|
CCSize getWinSize(void);
|
|
CCSize getWinSizeInPixels(void);
|
|
CCSize getDisplaySizeInPixels(void);
|
|
|
|
CCPoint convertToGL(CCPoint obPoint);
|
|
CCPoint convertToUI(CCPoint obPoint);
|
|
|
|
float getZEye(void);
|
|
|
|
void runWithScene(CCScene *pScene);
|
|
void pushScene(CCScene *pScene);
|
|
void popScene(void);
|
|
void replaceScene(CCScene *pScene);
|
|
|
|
void pause(void);
|
|
void resume(void);
|
|
|
|
void drawScene(void);
|
|
void purgeCachedData(void);
|
|
|
|
void setContentScaleFactor(CGFloat scaleFactor);
|
|
CGFloat getContentScaleFactor(void);
|
|
|
|
static CCDirector* sharedDirector(void);
|
|
};
|