public class PathHeap
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
count |
private PathPoint[] |
pathPoints |
| Constructor and Description |
|---|
PathHeap() |
| Modifier and Type | Method and Description |
|---|---|
PathPoint |
addPoint(PathPoint point) |
void |
changeDistance(PathPoint point,
float distance) |
void |
clearPath() |
PathPoint |
dequeue() |
boolean |
isPathEmpty() |
private void |
sortBack(int index) |
private void |
sortForward(int index) |
private PathPoint[] pathPoints
private int count