onPlayRunUpRightAnimation method

  1. @override
void onPlayRunUpRightAnimation()
override

Implementation

@override
void onPlayRunUpRightAnimation() {
  if (isJumping) {
    animation?.playOther(JumpAnimationsEnum.jumpUpRight, flipX: false);
  } else {
    super.onPlayRunUpRightAnimation();
  }
}