onPlayRunRightAnimation method

  1. @override
void onPlayRunRightAnimation()
override

Implementation

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