Package zombie.ai.astar
Class Path
java.lang.Object
zombie.ai.astar.Path
public class Path
extends java.lang.Object
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPath.Step
- 
Field Summary
- 
Constructor SummaryConstructors Constructor Description Path()
- 
Method SummaryModifier and Type Method Description voidappendStep(int int1, int int2, int int3)booleancontains(int int1, int int2, int int3)floatcostPerStep()static Path.StepcreateStep()intgetLength()Path.StepgetStep(int int1)intgetX(int int1)intgetY(int int1)intgetZ(int int1)voidprependStep(int int1, int int2, int int3)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
costpublic float cost
- 
stepstorepublic static java.util.Stack stepstore
 
- 
- 
Constructor Details- 
Pathpublic Path()
 
- 
- 
Method Details- 
costPerSteppublic float costPerStep()
- 
appendSteppublic void appendStep(int int1, int int2, int int3)
- 
containspublic boolean contains(int int1, int int2, int int3)
- 
getLengthpublic int getLength()
- 
getStep
- 
getXpublic int getX(int int1)
- 
getYpublic int getY(int int1)
- 
getZpublic int getZ(int int1)
- 
createStep
- 
prependSteppublic void prependStep(int int1, int int2, int int3)
 
-