Package net.minecraft.src
Class Path
java.lang.Object
net.minecraft.src.Path
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a point to the pathvoidchangeDistance(PathPoint par1PathPoint, float par2) Changes the provided point's distance to targetvoidClears the pathdequeue()Returns and removes the first point in the pathbooleanReturns true if this path contains no points
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
addPoint
Adds a point to the path -
clearPath
public void clearPath()Clears the path -
dequeue
Returns and removes the first point in the path -
changeDistance
Changes the provided point's distance to target -
isPathEmpty
public boolean isPathEmpty()Returns true if this path contains no points
-