Okay then. That just worked right out of the gate. There is a quadtree with a randomGaussian generated field of points and then the wanderer is on a separate array of perlin noise generated points.

  1. qTree.returnAllPoints //Dont love that this exists since points are reference objects
  2. qTree.popAllPoints //clears points and subtrees while returning an object array.
  3. qTree.reAddPoint //for reinserting points. Would also love for this to be private.
  4. qTree.clearPoint(x,y); //clears points by their x,y values.