v0.4.2: updated TODOs

This commit is contained in:
Evan Debenham
2016-09-06 02:25:11 -04:00
parent 60c16201cf
commit 1da1ae73c9
8 changed files with 2 additions and 11 deletions

View File

@@ -67,10 +67,6 @@ public class PathFinder {
CIRCLE = new int[]{-width-1, -width, -width+1, +1, +width+1, +width, +width-1, -1};
}
//TODO currently this isn't used, and all pathfinding is recomputed each step.
// Computing each step is performance expensive, but pre-computing a path leads to incorrect
// pathing in cases where passable changes. Need to look into a compromise, something that's
// correct but is less costly
public static Path find( int from, int to, boolean[] passable ) {
if (!buildDistanceMap( from, to, passable )) {