C# Класс OpenRA.Mods.Common.Pathfinder.PathSearch

Наследование: BasePathSearch
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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