C# Class Universe.BotManager.AStar.MainClass

Test class for doing A* path finding on a 2D map.
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
GetMap ( int x, int y ) : int

Gets movement cost from the 2-dimensional map

PrintSolution ( ArrayList aSolution ) : void

Prints the solution

Private Methods

Méthode Description
Main ( string args ) : void

Method Details

GetMap() public static méthode

Gets movement cost from the 2-dimensional map
public static GetMap ( int x, int y ) : int
x int X-coordinate
y int Y-coordinate
Résultat int

PrintSolution() public static méthode

Prints the solution
public static PrintSolution ( ArrayList aSolution ) : void
aSolution System.Collections.ArrayList The list that holds the solution
Résultat void