|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.pathfinding.Path
public class Path
Constructor Summary | |
---|---|
Path()
|
Method Summary | |
---|---|
PathPoint |
addPoint(PathPoint par1PathPoint)
Adds a point to the path |
void |
changeDistance(PathPoint par1PathPoint,
float par2)
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Path()
Method Detail |
---|
public PathPoint addPoint(PathPoint par1PathPoint)
public void clearPath()
public PathPoint dequeue()
public void changeDistance(PathPoint par1PathPoint, float par2)
public boolean isPathEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |