Class Path
java.lang.Object
zombie.ai.astar.Path
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendStep(int x, int y, int z) booleancontains(int x, int y, int z) floatstatic Path.StepintgetStep(int index) intgetX(int index) intgetY(int index) intgetZ(int index) voidprependStep(int x, int y, int z)
-
Field Details
-
cost
public float cost -
stepstore
-
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
costPerStep
public float costPerStep() -
appendStep
public void appendStep(int x, int y, int z) -
contains
public boolean contains(int x, int y, int z) -
getLength
public int getLength() -
getStep
-
getX
public int getX(int index) -
getY
public int getY(int index) -
getZ
public int getZ(int index) -
createStep
-
prependStep
public void prependStep(int x, int y, int z)
-