moveDownRightOnce method

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

Implementation

void moveDownRightOnce({double? speed}) {
  _lastSpeed = (speed ?? this.speed) * diaginalReduction;
  setVelocityAxis(y: _lastSpeed, x: _lastSpeed);
  onApplyDisplacement(dtUpdate);
  setVelocityAxis(y: 0, x: 0);
}