be.saltwater.jaqel.creature
Class PathFinderNode
java.lang.Object
be.saltwater.jaqel.creature.PathFinderNode
- public class PathFinderNode
- extends java.lang.Object
A coordinate of a Tile in a Maze. Contains a reference to its parent tile.
- Author:
- Robin Wittevrongel
- See Also:
Tile,
Maze
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PathFinderNode
public PathFinderNode(java.awt.Point p,
PathFinderNode parent,
int g,
int h)
getParent
public PathFinderNode getParent()
isParent
public boolean isParent(PathFinderNode node)
setParent
public void setParent(PathFinderNode node)
updateG
public void updateG()
equals
public boolean equals(java.awt.Point where)
equals
public boolean equals(PathFinderNode where)
getPoint
public java.awt.Point getPoint()
getX
public int getX()
getY
public int getY()
getG
public int getG()
getH
public int getH()
getCost
public int getCost()
toString
public java.lang.String toString()