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