|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.util.pathfinding.Path.Step
public class Path.Step
A single step within the path
Constructor Summary | |
---|---|
Path.Step(int x,
int y)
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 |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Path.Step(int x, int y)
x
- The x coordinate of the new stepy
- The y coordinate of the new stepMethod Detail |
---|
public int getX()
public int getY()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Object.equals(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |