mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
add CCScheduler bindings on mac
This commit is contained in:
parent
6aefb18dbc
commit
255a48ec40
1 changed files with 4 additions and 0 deletions
|
@ -742,6 +742,10 @@ class cocos2d::CCScene {
|
|||
|
||||
class cocos2d::CCScheduler {
|
||||
auto scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool) = mac 0x242b20;
|
||||
void scheduleSelector(cocos2d::SEL_SCHEDULE selector, cocos2d::CCObject* target, float interval, bool paused) {
|
||||
this->scheduleSelector(selector, target, interval, kCCRepeatForever, 0, paused);
|
||||
}
|
||||
void unscheduleSelector(SEL_SCHEDULE pfnSelector, CCObject *pTarget) = mac 0x2425f0;
|
||||
auto scheduleUpdateForTarget(cocos2d::CCObject*, int, bool) = mac 0x2438d0;
|
||||
auto unscheduleAllForTarget(cocos2d::CCObject*) = mac 0x243e40;
|
||||
auto unscheduleUpdateForTarget(cocos2d::CCObject const*) = mac 0x243c60;
|
||||
|
|
Loading…
Reference in a new issue