mirror of https://github.com/axmolengine/axmol.git
29 lines
636 B
Plaintext
29 lines
636 B
Plaintext
|
|
class CCDirector : public CCObject
|
|
{
|
|
CCScene* getRunningScene(void);
|
|
|
|
double getAnimationInterval(void);
|
|
|
|
bool isDisplayStats(void);
|
|
void setDisplayStats(bool bDisplayFPS);
|
|
|
|
bool isPaused(void);
|
|
unsigned int getFrames(void);
|
|
|
|
CCSize getWinSize(void);
|
|
CCSize getWinSizeInPixels(void);
|
|
|
|
CCPoint convertToGL(CCPoint obPoint);
|
|
CCPoint convertToUI(CCPoint obPoint);
|
|
|
|
void runWithScene(CCScene *pScene);
|
|
void pushScene(CCScene *pScene);
|
|
void popScene(void);
|
|
void replaceScene(CCScene *pScene);
|
|
|
|
CCFloat getContentScaleFactor(void);
|
|
|
|
static CCDirector* sharedDirector(void);
|
|
};
|