Translates this Vector2 by x and y.
x
y
void translate(double x, double y) { setValues(this.x + x, this.y + y); }