Beispiel #1
0
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;
}
Beispiel #2
0
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;
}
Beispiel #3
0
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;
}