| 710 | } |
| 711 | |
| 712 | void ScriptingCore::pauseSchedulesAndActions(js_proxy_t* p) |
| 713 | { |
| 714 | CCArray * arr = JSScheduleWrapper::getTargetForJSObject(p->obj); |
| 715 | if(! arr) return; |
| 716 | |
| 717 | CAView* node = (CAView*)p->ptr; |
| 718 | for(unsigned int i = 0; i < arr->count(); ++i) { |
| 719 | if(arr->objectAtIndex(i)) { |
| 720 | CAScheduler::getScheduler()->pauseTarget(arr->objectAtIndex(i)); |
| 721 | // node->getScheduler()->pauseTarget(arr->objectAtIndex(i)); |
| 722 | } |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | |
| 727 | void ScriptingCore::resumeSchedulesAndActions(js_proxy_t* p) |
nothing calls this directly
no test coverage detected