onPlayRunDownRightAnimation method

  1. @override
void onPlayRunDownRightAnimation()
override

Implementation

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