public class Path
extends java.lang.Object
Constructor and Description |
---|
Path() |
Modifier and Type | Method and Description |
---|---|
PathPoint |
addPoint(PathPoint point)
Adds a point to the path
|
void |
changeDistance(PathPoint p_75850_1_,
float p_75850_2_)
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 p_75850_1_, float p_75850_2_)
public boolean isPathEmpty()