CCEaseBackInOut* CCEaseBackInOut::create ( CCActionInterval* pAction )
{
	CCEaseBackInOut*  pRet = new CCEaseBackInOut ( );

    if ( pRet && pRet->initWithAction ( pAction ) )
    {
        pRet->autorelease ( );
    }
    else
    {
        CC_SAFE_DELETE ( pRet );
    }

	return pRet;
}
예제 #2
0
	//
	// EaseBackInOut
	//
	CCEaseBackInOut* CCEaseBackInOut::actionWithAction(CCIntervalAction* pAction)
	{
		CCEaseBackInOut *pRet = new CCEaseBackInOut();
		if (pRet)
		{
			if (pRet->initWithAction(pAction))
			{
				pRet->autorelease();
			}
			else
			{
				CCX_SAFE_RELEASE_NULL(pRet);
			}
		}

		return pRet;
	}