addXpos method

void addXpos(
  1. double x
)

Implementation

void addXpos(double x) {
  before_xPos = xPos;
  xPos += x;
}