for (int j = 0; j < animationListeners.length; j++) {
IAnimationListener listener = animationListeners[j];
//IF a listener is a TranslationAnimationListener the animations is a translationTween
//and should be stopped before doing this new animation
if (listener instanceof TranslationAnimationListener)
animation.stop();
}
}
return this.tweenTranslate(directionVect, interpolationDuration, accelerationEndTime, decelerationStartTime);
}