mirror of https://github.com/axmolengine/axmol.git
20 lines
498 B
Plaintext
20 lines
498 B
Plaintext
|
|
class CCTimer : public CCObject
|
|
{
|
|
ccTime getInterval(void);
|
|
void setInterval(ccTime fInterval);
|
|
void update(ccTime dt);
|
|
};
|
|
|
|
class CCScheduler : public CCObject
|
|
{
|
|
ccTime getTimeScale(void);
|
|
void setTimeScale(ccTime fTimeScale);
|
|
|
|
int scheduleScriptFunc(LUA_FUNCTION functionRefID, ccTime fInterval, bool bPaused);
|
|
void unscheduleScriptFunc(int scheduleEntryID);
|
|
void unscheduleAllSelectors(void);
|
|
|
|
static CCScheduler* sharedScheduler(void);
|
|
};
|