moveUpRight method

  1. @override
void moveUpRight({
  1. double? speed,
})
override

Move player to Up and Right

Implementation

@override
void moveUpRight({double? speed}) {
  if (!_perCellEnabled) {
    super.moveUpRight(speed: speed);
  } else {
    stopMove();
  }
}