|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AStarNode | |
com.brackeen.javagamebook.bsp2D | |
com.brackeen.javagamebook.path |
Uses of AStarNode in com.brackeen.javagamebook.bsp2D |
Subclasses of AStarNode in com.brackeen.javagamebook.bsp2D | |
class |
Portal
A Portal represents a passable divider between two leaves in a BSP tree (think: entryway between rooms). |
Methods in com.brackeen.javagamebook.bsp2D with parameters of type AStarNode | |
void |
Portal.addNeighbor(AStarNode node)
Adds a neighbor node to the list of neighbors. |
void |
Portal.removeNeighbor(AStarNode node)
Removes a neighbor node to the list of neighbors. |
float |
Portal.getCost(AStarNode node)
|
float |
Portal.getEstimatedCost(AStarNode node)
|
Uses of AStarNode in com.brackeen.javagamebook.path |
Subclasses of AStarNode in com.brackeen.javagamebook.path | |
static class |
AStarSearchWithBSP.LeafNode
The LeafNode class is an AStarNode that repesents a location in a leaf of a BSP tree. |
Methods in com.brackeen.javagamebook.path with parameters of type AStarNode | |
float |
AStarSearchWithBSP.LeafNode.getCost(AStarNode node)
|
float |
AStarSearchWithBSP.LeafNode.getEstimatedCost(AStarNode node)
|
java.util.List |
AStarSearch.findPath(AStarNode startNode,
AStarNode goalNode)
Find the path from the start node to the end node. |
abstract float |
AStarNode.getCost(AStarNode node)
Gets the cost between this node and the specified adjacent (aka "neighbor" or "child") node. |
abstract float |
AStarNode.getEstimatedCost(AStarNode node)
Gets the estimated cost between this node and the specified node. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |