C# Class DivineRightGame.Pathfinding.PathfinderInterface

An interface for using the Pathfinding algorithm
Afficher le fichier Open project: Haedrian/Divine-Right

Méthodes publiques

Méthode Description
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

Method Details

CeilToPower2() public static méthode

public static CeilToPower2 ( int number ) : int
number int
Résultat int

GetPath() public static méthode

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
Résultat Stack