class Vector2D {

	public void translate(Vector2D offset) {
		Objects.requireNonNull(offset, "Offset cannot be null.");

		x += offset.x;
		y += offset.y;
	}

	public  Vector2D(double x, double y);

}