C# Class AStartTest.AStar

Afficher le fichier Open project: holtkampw/UH-Sample-XNA-Project Class Usage Examples

Méthodes publiques

Méthode Description
AStar ( Tile startTile, Tile goalTile ) : System
FindPath ( ) : List

Private Methods

Méthode Description
AddNeighborNodesToOpenList ( Node currentNode, List neighborTiles ) : void
GetDistanceBetweenTiles ( Tile &tile1, Tile &tile2 ) : float
GetDistanceToGoal ( Tile &tile ) : float
GetLowestCostNodeFromOpenNodes ( ) : Node
GetWalkableNeighborsNotOnClosedList ( Node currentNode ) : List
TransformToNode ( Tile tile, Node parentNode ) : Node

Method Details

AStar() public méthode

public AStar ( Tile startTile, Tile goalTile ) : System
startTile Tile
goalTile Tile
Résultat System

FindPath() public méthode

public FindPath ( ) : List
Résultat List