C# Class OpenRA.Mods.Common.Traits.PathFinder

Inheritance: IPathFinder
Afficher le fichier Open project: pchote/OpenRA

Méthodes publiques

Méthode Description
FindBidiPath ( IPathSearch fromSrc, IPathSearch fromDest ) : List
FindPath ( IPathSearch search ) : List
FindUnitPath ( CPos source, CPos target, Actor self ) : List
FindUnitPathToRange ( CPos source, SubCell srcSub, WPos target, WDist range, Actor self ) : List
PathFinder ( World world ) : System

Private Methods

Méthode Description
CheckSanePath ( IList path ) : void
CheckSanePath2 ( IList path, CPos src, CPos dest ) : void
MakeBidiPath ( IPathSearch a, IPathSearch b, CPos confluenceNode ) : List
MakePath ( IGraph cellInfo, CPos destination ) : List

Method Details

FindBidiPath() public méthode

public FindBidiPath ( IPathSearch fromSrc, IPathSearch fromDest ) : List
fromSrc IPathSearch
fromDest IPathSearch
Résultat List

FindPath() public méthode

public FindPath ( IPathSearch search ) : List
search IPathSearch
Résultat List

FindUnitPath() public méthode

public FindUnitPath ( CPos source, CPos target, Actor self ) : List
source CPos
target CPos
self Actor
Résultat List

FindUnitPathToRange() public méthode

public FindUnitPathToRange ( CPos source, SubCell srcSub, WPos target, WDist range, Actor self ) : List
source CPos
srcSub SubCell
target WPos
range WDist
self Actor
Résultat List

PathFinder() public méthode

public PathFinder ( World world ) : System
world World
Résultat System