onPlayRunUpLeftAnimation method

void onPlayRunUpLeftAnimation()

Implementation

void onPlayRunUpLeftAnimation() {
  if (!canExecuteAnimation(
    DirectionAnimationMethod.onPlayRunUpLeftAnimation,
  )) {
    return;
  }
  if (animation?.canRunUpLeft == true) {
    play(SimpleAnimationEnum.runUpLeft);
  } else {
    play(SimpleAnimationEnum.runLeft);
  }
}