moveDownOnce method

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

Implementation

void moveDownOnce({double? speed}) {
  _lastSpeed = speed ?? this.speed;
  setVelocityAxis(y: _lastSpeed);
  onApplyDisplacement(dtUpdate);
  setVelocityAxis(y: 0);
}