Just reading through the mapping classes and have a question.
In classes such as PathFinding.java there is mentions of "lines".
Code: Select all
// Create a rudimentary map:
Line  lines = new Line;
lines  = new Line(75f, 100f, 100f, 100f);
lines  = new Line(100, 100, 87, 75);
lines  = new Line(87, 75, 75, 100);
lejos.geom.Rectangle bounds = new Rectangle(-50, -50, 250, 250);
LineMap myMap = new LineMap(lines, bounds);
These lines, do they represent obstacles? At first I thought they may be the lines dividing Rectangle into smaller squares to form a gridmap, but when I look at the values shown above, it just doesn't seem right.
If they do not represent obstacles, then what?