C# Class AStarPathfinder, Augmented_Tactics

Afficher le fichier Open project: Kavignon/Augmented_Tactics Class Usage Examples

Méthodes publiques

Свойство Type Description
FinalPath List

Méthodes publiques

Méthode Description
AStarPathfinder ( ) : System.Collections.Generic
CellsFromPath ( ) : List
CellsFromPath ( int size ) : List
FindPath ( Cell, startCell, Cell, goalCell, List map, bool targetCellMustBeFree ) : void
MovementCost ( Node, a, Node, b ) : float
PointsFromPath ( ) : List

Private Methods

Méthode Description
ExtractBestNodeFromOpenList ( ) : Node,
FindInCloseList ( Node, n ) : Node,
FindInOpenList ( Node, n ) : Node,
FindValidFourNeighbours ( Node, n ) : void
FindValidFourNeighboursIgnoreTargetCell ( Node, n ) : void
Heuristic ( Node, n ) : float
NodeIsGoal ( Node, node ) : bool
PrepareNewNodeFrom ( Node, n, int x, int y ) : Node,

Method Details

AStarPathfinder() public méthode

public AStarPathfinder ( ) : System.Collections.Generic
Résultat System.Collections.Generic

CellsFromPath() public méthode

public CellsFromPath ( ) : List
Résultat List

CellsFromPath() public méthode

public CellsFromPath ( int size ) : List
size int
Résultat List

FindPath() public méthode

public FindPath ( Cell, startCell, Cell, goalCell, List map, bool targetCellMustBeFree ) : void
startCell Cell,
goalCell Cell,
map List
targetCellMustBeFree bool
Résultat void

MovementCost() public méthode

public MovementCost ( Node, a, Node, b ) : float
a Node,
b Node,
Résultat float

PointsFromPath() public méthode

public PointsFromPath ( ) : List
Résultat List

Property Details

FinalPath public_oe property

public List FinalPath
Résultat List