C# 클래스 OpenRA.Mods.Common.Pathfinder.PathSearch

상속: BasePathSearch
파일 보기 프로젝트 열기: pchote/OpenRA 1 사용 예제들

공개 메소드들

메소드 설명
Expand ( ) : CPos

This function analyzes the neighbors of the most promising node in the Pathfinding graph using the A* algorithm (A-star) and returns that node

FromPoint ( World world, MobileInfo mi, Actor self, CPos from, CPos target, bool checkForBlocked ) : IPathSearch
FromPoints ( World world, MobileInfo mi, Actor self, IEnumerable froms, CPos target, bool checkForBlocked ) : IPathSearch
Search ( World world, MobileInfo mi, Actor self, bool checkForBlocked, bool>.Func goalCondition ) : IPathSearch

보호된 메소드들

메소드 설명
AddInitialCell ( CPos location ) : void

비공개 메소드들

메소드 설명
LayerPoolForWorld ( World world ) : CellInfoLayerPool
PathSearch ( IGraph graph ) : System

메소드 상세

AddInitialCell() 보호된 메소드

protected AddInitialCell ( CPos location ) : void
location CPos
리턴 void

Expand() 공개 메소드

This function analyzes the neighbors of the most promising node in the Pathfinding graph using the A* algorithm (A-star) and returns that node
public Expand ( ) : CPos
리턴 CPos

FromPoint() 공개 정적인 메소드

public static FromPoint ( World world, MobileInfo mi, Actor self, CPos from, CPos target, bool checkForBlocked ) : IPathSearch
world World
mi MobileInfo
self Actor
from CPos
target CPos
checkForBlocked bool
리턴 IPathSearch

FromPoints() 공개 정적인 메소드

public static FromPoints ( World world, MobileInfo mi, Actor self, IEnumerable froms, CPos target, bool checkForBlocked ) : IPathSearch
world World
mi MobileInfo
self Actor
froms IEnumerable
target CPos
checkForBlocked bool
리턴 IPathSearch

Search() 공개 정적인 메소드

public static Search ( World world, MobileInfo mi, Actor self, bool checkForBlocked, bool>.Func goalCondition ) : IPathSearch
world World
mi MobileInfo
self Actor
checkForBlocked bool
goalCondition bool>.Func
리턴 IPathSearch