addXvel method

void addXvel(
  1. double x
)

Implementation

void addXvel(double x) {
  xVel += x;
}