onPlayRunUpAnimation method
Implementation
@override
void onPlayRunUpAnimation() {
if (isJumping) {
if (lastDirectionHorizontal == Direction.left) {
_playJumpUpLeft();
} else {
animation?.playOther(JumpAnimationsEnum.jumpUpRight, flipX: false);
}
} else {
super.onPlayRunUpAnimation();
}
}