moveUpRight method
Move player to Up and Right
Implementation
@override
void moveUpRight(double speedX, double speedY, {VoidCallback? onCollision}) {
if (animation?.runUpRight != null) {
animation?.play(SimpleAnimationEnum.runUpRight);
} else {
animation?.play(SimpleAnimationEnum.runRight);
}
super.moveUpRight(speedX, speedY, onCollision: onCollision);
}