C# Класс DivineRightGame.Pathfinding.PathfinderInterface

An interface for using the Pathfinding algorithm
Показать файл Открыть проект

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

Метод Описание
CeilToPower2 ( int number ) : int
GetPath ( MapCoordinate startPoint, MapCoordinate endPoint ) : Stack

Gets a path from the startPoint to the endPoint. Or null if there are no possible points

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

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

public static CeilToPower2 ( int number ) : int
number int
Результат int

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

Gets a path from the startPoint to the endPoint. Or null if there are no possible points
public static GetPath ( MapCoordinate startPoint, MapCoordinate endPoint ) : Stack
startPoint MapCoordinate
endPoint MapCoordinate
Результат Stack