|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzombie.ai.astar.Path.Step
public static class Path.Step
A single step within the path
| Field Summary | |
|---|---|
int |
x
The x coordinate at the given step |
int |
y
The y coordinate at the given step |
int |
z
|
| Constructor Summary | |
|---|---|
Path.Step()
|
|
Path.Step(int x,
int y,
int z)
Create a new step |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
int |
getX()
get the x coordinate of the new step |
int |
getY()
get the y coordinate of the new step |
int |
getZ()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int x
public int y
public int z
| Constructor Detail |
|---|
public Path.Step(int x,
int y,
int z)
x - The x coordinate of the new stepy - The y coordinate of the new steppublic Path.Step()
| Method Detail |
|---|
public boolean equals(java.lang.Object other)
equals in class java.lang.ObjectObject.equals(Object)public int getX()
public int getY()
public int getZ()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||