|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.util.pathfinding.navmesh.NavPath
public class NavPath
A path across a navigation mesh
| Constructor Summary | |
|---|---|
NavPath()
Create a new path |
|
| Method Summary | |
|---|---|
float |
getX(int step)
Get the x coordinate of the given step |
float |
getY(int step)
Get the y coordinate of the given step |
int |
length()
Get the length of the path |
void |
push(Link link)
Push a link to the end of the path |
void |
remove(int i)
Remove a step in the path |
java.lang.String |
toString()
Get a string representation of this instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NavPath()
| Method Detail |
|---|
public void push(Link link)
link - The link to the end of the pathpublic int length()
public float getX(int step)
step - The index of the step to retrieve
public float getY(int step)
step - The index of the step to retrieve
public java.lang.String toString()
toString in class java.lang.Objectpublic void remove(int i)
i -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||