C# Class Dwarrowdelf.TerrainGen.RiverGen.MyTarget

Inheritance: IAStarTarget
Show file Open project: tomba/dwarrowdelf

Public Methods

Method 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 method

public GetCostBetween ( IntVector3 src, IntVector3 dst ) : ushort
src IntVector3
dst IntVector3
return ushort

GetHeuristic() public method

public GetHeuristic ( IntVector3 p ) : ushort
p IntVector3
return ushort

GetIsTarget() public method

public GetIsTarget ( IntVector3 p ) : bool
p IntVector3
return bool

GetValidDirs() public method

public GetValidDirs ( IntVector3 p ) : IEnumerable
p IntVector3
return IEnumerable

MyTarget() public method

public MyTarget ( TerrainData terrain, IntVector3 origin, SideEdge sourceSide ) : System
terrain TerrainData
origin IntVector3
sourceSide SideEdge
return System