public class PathEntity
extends java.lang.Object
Constructor and Description |
---|
PathEntity(PathPoint[] par1ArrayOfPathPoint) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentPathIndex() |
int |
getCurrentPathLength() |
PathPoint |
getFinalPathPoint() |
PathPoint |
getPathPointFromIndex(int par1) |
Vec3 |
getPosition(Entity par1Entity) |
Vec3 |
getVectorFromIndex(Entity par1Entity,
int par2) |
void |
incrementPathIndex() |
boolean |
isDestinationSame(Vec3 par1Vec3) |
boolean |
isFinished() |
boolean |
isSamePath(PathEntity par1PathEntity) |
void |
setCurrentPathIndex(int par1) |
void |
setCurrentPathLength(int par1) |
public PathEntity(PathPoint[] par1ArrayOfPathPoint)
public void incrementPathIndex()
public boolean isFinished()
public PathPoint getFinalPathPoint()
public PathPoint getPathPointFromIndex(int par1)
public int getCurrentPathLength()
public void setCurrentPathLength(int par1)
public int getCurrentPathIndex()
public void setCurrentPathIndex(int par1)
public boolean isSamePath(PathEntity par1PathEntity)
public boolean isDestinationSame(Vec3 par1Vec3)