moveUpRight method

  1. @override
bool moveUpRight(
  1. double speedX,
  2. double speedY
)
override

Move player to Up and Right

Implementation

@override
bool moveUpRight(double speedX, double speedY) {
  animation?.play(SimpleAnimationEnum.runUpRight);
  return super.moveUpRight(speedX, speedY);
}