Sets the points of the Rectangle struct.
x1
y1
x2
y2
void setPoints(int x1, int y1, int x2, int y2) { points[0] = x1; points[1] = y1; points[2] = x2; points[3] = y2; }