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); void scheduleScriptFunc(const char *pszFuncName, ccTime fInterval, bool bPaused); void unscheduleScriptFunc(const char *pszFuncName); void scheduleUpdateForTarget(SelectorProtocol *pTarget, int nPriority, bool bPaused); void unscheduleUpdateForTarget(const SelectorProtocol *pTarget); void unscheduleAllSelectorsForTarget(SelectorProtocol *pTarget); void unscheduleAllSelectors(void); void pauseTarget(SelectorProtocol *pTarget); void resumeTarget(SelectorProtocol *pTarget); bool isTargetPaused(SelectorProtocol *pTarget); static CCScheduler* sharedScheduler(void); }; // } // namespace cocos2d