C# Class Dwarrowdelf.TerrainGen.RiverGen.MyTarget

Inheritance: IAStarTarget
Afficher le fichier Open project: tomba/dwarrowdelf

Méthodes publiques

Méthode Description
GetCostBetween ( IntVector3 src, IntVector3 dst ) : ushort
GetHeuristic ( IntVector3 p ) : ushort
GetIsTarget ( IntVector3 p ) : bool
GetValidDirs ( IntVector3 p ) : IEnumerable
MyTarget ( TerrainData terrain, IntVector3 origin, SideEdge sourceSide ) : System

Method Details

GetCostBetween() public méthode

public GetCostBetween ( IntVector3 src, IntVector3 dst ) : ushort
src IntVector3
dst IntVector3
Résultat ushort

GetHeuristic() public méthode

public GetHeuristic ( IntVector3 p ) : ushort
p IntVector3
Résultat ushort

GetIsTarget() public méthode

public GetIsTarget ( IntVector3 p ) : bool
p IntVector3
Résultat bool

GetValidDirs() public méthode

public GetValidDirs ( IntVector3 p ) : IEnumerable
p IntVector3
Résultat IEnumerable

MyTarget() public méthode

public MyTarget ( TerrainData terrain, IntVector3 origin, SideEdge sourceSide ) : System
terrain TerrainData
origin IntVector3
sourceSide SideEdge
Résultat System