C# 클래스 DivineRightGame.Pathfinding.PathfinderInterface

An interface for using the Pathfinding algorithm
파일 보기 프로젝트 열기: Haedrian/Divine-Right

공개 메소드들

메소드 설명
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