axmol/tools/tolua++/CCDirector.pkg

35 lines
844 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);
CCScheduler* getScheduler();
CCActionManager* getActionManager();
CCTouchDispatcher* getTouchDispatcher();
CCKeypadDispatcher* getKeypadDispatcher();
CCAccelerometer* getAccelerometer();
static CCDirector* sharedDirector(void);
};