public class PathPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
cost |
float |
costMalus |
float |
distanceFromOrigin |
float |
distanceToNext |
float |
distanceToTarget |
int |
index |
PathNodeType |
nodeType |
PathPoint |
previous |
float |
totalPathDistance |
boolean |
visited |
int |
x |
int |
y |
int |
z |
Constructor and Description |
---|
PathPoint(int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
PathPoint |
cloneMove(int x,
int y,
int z) |
static PathPoint |
createFromBuffer(PacketBuffer buf) |
float |
distanceManhattan(PathPoint p_186281_1_) |
float |
distanceTo(PathPoint pathpointIn) |
float |
distanceToSquared(PathPoint pathpointIn) |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
hashCode() |
boolean |
isAssigned() |
static int |
makeHash(int x,
int y,
int z) |
java.lang.String |
toString() |
public final int x
public final int y
public final int z
public int index
public float totalPathDistance
public float distanceToNext
public float distanceToTarget
public PathPoint previous
public boolean visited
public float distanceFromOrigin
public float cost
public float costMalus
public PathNodeType nodeType
public PathPoint cloneMove(int x, int y, int z)
public static int makeHash(int x, int y, int z)
public float distanceTo(PathPoint pathpointIn)
public float distanceToSquared(PathPoint pathpointIn)
public float distanceManhattan(PathPoint p_186281_1_)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isAssigned()
public java.lang.String toString()
toString
in class java.lang.Object
public static PathPoint createFromBuffer(PacketBuffer buf)