bool CCBReader::init() { // Setup action manager CCBAnimationManager *pActionManager = new (std::nothrow) CCBAnimationManager(); setAnimationManager(pActionManager); pActionManager->release(); // Setup resolution scale and container size _animationManager->setRootContainerSize(Director::DirectorInstance->getWinSize()); return true; }
bool CCBReader::init() { // Setup action manager CCBAnimationManager *pActionManager = new CCBAnimationManager(); setAnimationManager(pActionManager); pActionManager->release(); // Setup resolution scale and container size mActionManager->setRootContainerSize(CCDirector::sharedDirector()->getWinSize()); return true; }
bool CCBReader::init() { mOwnerOutletNodes = new CCArray(); mOwnerCallbackNodes = new CCArray(); mOwnerOwnerCallbackControlEvents = new CCArray(); // Setup action manager CCBAnimationManager *pActionManager = new CCBAnimationManager(); setAnimationManager(pActionManager); pActionManager->release(); // Setup resolution scale and container size mActionManager->setRootContainerSize(CCDirector::sharedDirector()->getWinSize()); return true; }