playOther method
Method used to play specific animation registred in others
Implementation
void playOther(String key, {bool? flipX, bool? flipY}) {
if (others.containsKey(key) == true) {
if (!runToTheEndFastAnimation) {
_fastAnimation = null;
}
isFlipHorizontally = flipX ?? (isFlipHorizontally);
isFlipVertically = flipY ?? (isFlipVertically);
_current = others[key];
_currentType = SimpleAnimationEnum.custom;
}
}