onPlayRunUpLeftAnimation method

void onPlayRunUpLeftAnimation()

Implementation

void onPlayRunUpLeftAnimation() {
  if (animation?.canRunUpLeft == true) {
    animation?.play(SimpleAnimationEnum.runUpLeft);
  } else {
    animation?.play(SimpleAnimationEnum.runLeft);
  }
}