com.croftsoft.apps.mars.ai
Class StateSpaceNode
java.lang.Object
com.croftsoft.apps.mars.ai.StateSpaceNode
public final class StateSpaceNode
- extends Object
Used with the A* path-finding implementation.
- Since:
- 2003-04-29
- Version:
- 2003-04-29
- Author:
- David Wallace Croft
StateSpaceNode
public StateSpaceNode(PointXY pointXY,
double heading)
StateSpaceNode
public StateSpaceNode()
getHeading
public double getHeading()
getPointXY
public PointXY getPointXY()
set
public void set(StateSpaceNode stateSpaceNode)
setHeading
public void setHeading(double heading)
setPointXY
public void setPointXY(PointXY pointXY)
distance
public double distance(StateSpaceNode otherStateSpaceNode)
rotation
public double rotation(StateSpaceNode otherStateSpaceNode)
toString
public String toString()
- Overrides:
toString
in class Object
CroftSoft Apps Javadoc (2008-09-28 21:15:07)