moveDown method

void moveDown(
  1. double displacement
)

Implementation

void moveDown(double displacement) {
  position = position.translated(0, displacement);
}