C# Class Universe.BotManager.AStar.AStar

Class for performing A* pathfinding
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Méthode Description
AStar ( ) : System
FindPath ( AStarNode aStartNode, AStarNode aGoalNode ) : void

Finds the shortest path from the start node to the goal node

Private Methods

Méthode Description
PrintNodeList ( object aNodeList ) : void

Prints all the nodes in a list

Method Details

AStar() public méthode

public AStar ( ) : System
Résultat System

FindPath() public méthode

Finds the shortest path from the start node to the goal node
public FindPath ( AStarNode aStartNode, AStarNode aGoalNode ) : void
aStartNode AStarNode Start node
aGoalNode AStarNode Goal node
Résultat void