onPlayRunDownLeftAnimation method

void onPlayRunDownLeftAnimation()

Implementation

void onPlayRunDownLeftAnimation() {
  if (!canExecuteAnimation(
    DirectionAnimationMethod.onPlayRunDownLeftAnimation,
  )) {
    return;
  }
  if (animation?.canRunDownLeft == true) {
    play(SimpleAnimationEnum.runDownLeft);
  } else {
    play(SimpleAnimationEnum.runLeft);
  }
}