subXvel method

void subXvel(
  1. double x
)

Implementation

void subXvel(double x) {
  xVel -= x;
}