Exemplo n.º 1
0
Action* RotateBy::copy () 
{
	RotateBy* rotateBy = new RotateBy(rotation, duration);
	if (NULL != interpolator) 
    rotateBy->setInterpolator( interpolator->copy());
	return rotateBy;
}
Exemplo n.º 2
0
gdx::Action* RotateBy::copy () {
    RotateBy* rotateBy = RotateBy::build(rotation, duration);
    if (interpolator != NULL) rotateBy->setInterpolator(interpolator->copy());
    return rotateBy;
}