public class PathHeap
extends java.lang.Object
コンストラクタと説明 |
---|
PathHeap() |
修飾子とタイプ | メソッドと説明 |
---|---|
PathPoint |
addPoint(PathPoint point)
Adds a point to the path
|
void |
changeDistance(PathPoint point,
float distance)
Changes the provided point's distance to target
|
void |
clearPath()
Clears the path
|
PathPoint |
dequeue()
Returns and removes the first point in the path
|
boolean |
isPathEmpty()
Returns true if this path contains no points
|
public void clearPath()
public PathPoint dequeue()
public void changeDistance(PathPoint point, float distance)
public boolean isPathEmpty()