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

Inheritance: IPathFinder
Show file Open project: pchote/OpenRA

Public Methods

Method 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

Method 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 method

public FindBidiPath ( IPathSearch fromSrc, IPathSearch fromDest ) : List
fromSrc IPathSearch
fromDest IPathSearch
return List

FindPath() public method

public FindPath ( IPathSearch search ) : List
search IPathSearch
return List

FindUnitPath() public method

public FindUnitPath ( CPos source, CPos target, Actor self ) : List
source CPos
target CPos
self Actor
return List

FindUnitPathToRange() public method

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

PathFinder() public method

public PathFinder ( World world ) : System
world World
return System