moveDown method

void moveDown({
  1. double? speed,
})

Move player to Down

Implementation

void moveDown({double? speed}) {
  _lastSpeed = speed ?? this.speed;
  setVelocityAxis(y: _lastSpeed);
}