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