用于管理节点的动作 { CCDirector* pDirector = CCDirector::sharedDirector(); //获得单例 pDirector->getActionManager()->resumeTarget(pGrossini); //运行目标精灵的动作 } { CCDirector* pDirector = CCDirector::sharedDirector(); pDirector->getActionManager()->pauseTarget(pGrossini); //暂停目标精灵的动作
}