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

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

	return pRet; 
}
Esempio n. 2
0
	//
	// EaseSineOut
	//
	CCEaseSineOut* CCEaseSineOut::actionWithAction(CCIntervalAction* pAction)
	{
		CCEaseSineOut *pRet = new CCEaseSineOut();
		if (pRet)
		{
			if (pRet->initWithAction(pAction))
			{
				pRet->autorelease();
			}
			else
			{
				CCX_SAFE_RELEASE_NULL(pRet);
			}
		}

		return pRet; 
	}