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