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

Stores information about nodes in the pathfinding graph
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CostSoFar int
EstimatedTotal int
PreviousPos CPos
Status CellStatus

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

Метод Описание
CellInfo ( int costSoFar, int estimatedTotal, CPos previousPos, CellStatus status )

Описание методов

CellInfo() публичный Метод

public CellInfo ( int costSoFar, int estimatedTotal, CPos previousPos, CellStatus status )
costSoFar int
estimatedTotal int
previousPos CPos
status CellStatus

Описание свойств

CostSoFar публичное свойство

The cost to move from the start up to this node
public int CostSoFar
Результат int

EstimatedTotal публичное свойство

The estimation of how far is the node from our goal
public int EstimatedTotal
Результат int

PreviousPos публичное свойство

The previous node of this one that follows the shortest path
public CPos PreviousPos
Результат CPos

Status публичное свойство

The status of this node
public CellStatus Status
Результат CellStatus