setVelocity method

void setVelocity(
  1. double velocity
)

Implementation

void setVelocity(double velocity) {
  _state.velocity = velocity;
}