|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.pathfinding.PathPoint
public class PathPoint
| Field Summary | |
|---|---|
boolean |
isFirst
Indicates this is the origin |
int |
xCoord
The x coordinate of this point |
int |
yCoord
The y coordinate of this point |
int |
zCoord
The z coordinate of this point |
| Constructor Summary | |
|---|---|
PathPoint(int par1,
int par2,
int par3)
|
|
| Method Summary | |
|---|---|
float |
distanceTo(PathPoint par1PathPoint)
Returns the linear distance to another path point |
boolean |
equals(Object par1Obj)
|
float |
func_75832_b(PathPoint par1PathPoint)
|
int |
hashCode()
|
boolean |
isAssigned()
Returns true if this point has already been assigned to a path |
static int |
makeHash(int par0,
int par1,
int par2)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int xCoord
public final int yCoord
public final int zCoord
public boolean isFirst
| Constructor Detail |
|---|
public PathPoint(int par1,
int par2,
int par3)
| Method Detail |
|---|
public static int makeHash(int par0,
int par1,
int par2)
public float distanceTo(PathPoint par1PathPoint)
public float func_75832_b(PathPoint par1PathPoint)
public boolean equals(Object par1Obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean isAssigned()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||