C# Class AStar, tutorials

Inheritance: MonoBehaviour
Datei anzeigen Open project: poeticmatter/tutorials Class Usage Examples

Public Methods

Method Description
AStar ( AStarCost, aStarCost, int fromX, int fromY, int toX, int toY ) : System
findPath ( ) : void

Private Methods

Method Description
getFromHeap ( AStarNode, node, Heap, list ) : AStarNode,
printNodeList ( List nodes ) : void
processSuccessors ( List successors ) : void
recordSolution ( AStarNode current ) : void
successorWorseThanExisting ( AStarNode successor, AStarNode existing ) : bool

Method Details

AStar() public method

public AStar ( AStarCost, aStarCost, int fromX, int fromY, int toX, int toY ) : System
aStarCost AStarCost,
fromX int
fromY int
toX int
toY int
return System

findPath() public method

public findPath ( ) : void
return void