C# Класс RoutePlanifier, isoAbbeyTFG

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

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

Метод Описание
cancelRoute ( Entity, entity ) : void
next ( Entity, entity ) : Cell,
planifyRoute ( Entity, entity, Cell, destination ) : bool
planifyRoute ( Entity, entity, Cell, destination, int distance ) : bool

Приватные методы

Метод Описание
GetSurroundCellsAtRadius ( Cell, to, int distance ) : List
GetSurroundCellsAtRadius ( Cell, to, int distance, List cells ) : void
calculateRoute ( Cell, from, Cell, to, Entity, entity, int distance ) : Stack
estimaAvance ( Cell, celdaCandidata, Cell, accesible ) : float
estimaMeta ( Cell, accesible, Cell, to ) : float
getCeldasAccesibles ( Cell, celda, Entity, entity ) : Cell[],
reconstruyeCamino ( Stack route, int celda, Cell, anterior, Cell, celdas, int>.Dictionary cellToPos ) : void

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

cancelRoute() публичный статический Метод

public static cancelRoute ( Entity, entity ) : void
entity Entity,
Результат void

next() публичный статический Метод

public static next ( Entity, entity ) : Cell,
entity Entity,
Результат Cell,

planifyRoute() публичный статический Метод

public static planifyRoute ( Entity, entity, Cell, destination ) : bool
entity Entity,
destination Cell,
Результат bool

planifyRoute() публичный статический Метод

public static planifyRoute ( Entity, entity, Cell, destination, int distance ) : bool
entity Entity,
destination Cell,
distance int
Результат bool