//
// FadeIn
//
CCFadeIn* CCFadeIn::actionWithDuration(ccTime d)
{
	CCFadeIn* pAction = new CCFadeIn();

	pAction->initWithDuration(d);
 	pAction->autorelease();

	return pAction;
}
Exemplo n.º 2
0
//
// FadeIn
//
CCFadeIn* CCFadeIn::create(float d)
{
	CCFadeIn* pAction = new CCFadeIn();

	pAction->initWithDuration(d);
 	pAction->autorelease();

	return pAction;
}