Hi my code is working but i dont understand how the coordinate labeler is changing color, can someone please explain?
its these two lines for the testing that do it but as i understand, they just set isExplored and isPath in the local neigbor list? how and when do the coordinate labeler get this info?
grid[neigborCoords].isExplored = true;
grid[currentSearchNode.coordinates].isPath = true;