Package zombie.ai.astar
Class Path.Step
java.lang.Object
zombie.ai.astar.Path.Step
- Enclosing class:
- Path
A single step within the path
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
x
public int xThe x coordinate at the given step -
y
public int yThe y coordinate at the given step -
z
public int z
-
-
Constructor Details
-
Step
public Step(int x, int y, int z) Create a new step- Parameters:
x
- The x coordinate of the new stepy
- The y coordinate of the new step
-
Step
public Step()
-
-
Method Details
-
equals
-
getX
public int getX()get the x coordinate of the new step- Returns:
- The x coodindate of the new step
-
getY
public int getY()get the y coordinate of the new step- Returns:
- The y coodindate of the new step
-
getZ
public int getZ() -
hashCode
public int hashCode()
-