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