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

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

	return pRet;      
}
Exemplo n.º 2
0
	//
	// EaseExponentialIn
	//
	CCEaseExponentialIn* CCEaseExponentialIn::actionWithAction(CCIntervalAction* pAction)
	{
		CCEaseExponentialIn *pRet = new CCEaseExponentialIn();
		if (pRet)
		{
			if (pRet->initWithAction(pAction))
			{
				pRet->autorelease();
			}
			else
			{
				CCX_SAFE_RELEASE_NULL(pRet);
			}
		}

		return pRet;      
	}