My code increments a Point array using a predetermined NodeLength, I;ve searched online and can find no unclunky way of incrementing it beyond this:
double px = Point[1].getX();
int 1x = (int) px;
double py = Point[1].getY();
int 1y = (int) py;
1x += nodeLength;
1y += nodeLength;
Point[2].setLocation(1x,1y)
There’s got to be a better way than that right?