set method

Vector2 set(
  1. double x,
  2. double y
)

Implementation

Vector2 set(double x, double y) {
  this.x = x;
  this.y = y;

  return this;
}