C# Class VoidLib.Navigation.Pathfinding.PathFinder

Afficher le fichier Open project: andrewmunro/Void

Méthodes publiques

Méthode Description
buildPath ( PathNode destinationNode, PathNode startNode ) : List
euclidianHeuristic ( PathNode node, PathNode destinationNode, float cost = 1.0f ) : float
findPath ( PathNode firstNode, PathNode destinationNode ) : List
isClosed ( PathNode node, List closedNodes ) : bool
isOpen ( PathNode node, List openNodes ) : bool

Method Details

buildPath() public static méthode

public static buildPath ( PathNode destinationNode, PathNode startNode ) : List
destinationNode PathNode
startNode PathNode
Résultat List

euclidianHeuristic() public static méthode

public static euclidianHeuristic ( PathNode node, PathNode destinationNode, float cost = 1.0f ) : float
node PathNode
destinationNode PathNode
cost float
Résultat float

findPath() public static méthode

public static findPath ( PathNode firstNode, PathNode destinationNode ) : List
firstNode PathNode
destinationNode PathNode
Résultat List

isClosed() public static méthode

public static isClosed ( PathNode node, List closedNodes ) : bool
node PathNode
closedNodes List
Résultat bool

isOpen() public static méthode

public static isOpen ( PathNode node, List openNodes ) : bool
node PathNode
openNodes List
Résultat bool