M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.PathFinder Class Referenceabstract

Public Member Functions

 PathFinder ()
 
virtual void Destroy ()
 
void Initialize (Vec3 bbSize)
 
bool FindPath (Vec3 wSource, Vec3 wDestination, List< Vec3 > path, float craftWidth=5.0f)
 

Static Public Attributes

static float BuildingCost = 5000.0f
 
static float WaterCost = 400.0f
 
static float ShallowWaterCost = 100.0f
 

Constructor & Destructor Documentation

◆ PathFinder()

TaleWorlds.Library.PathFinder.PathFinder ( )

Member Function Documentation

◆ Destroy()

virtual void TaleWorlds.Library.PathFinder.Destroy ( )
virtual

◆ Initialize()

void TaleWorlds.Library.PathFinder.Initialize ( Vec3 bbSize)
abstract

◆ FindPath()

bool TaleWorlds.Library.PathFinder.FindPath ( Vec3 wSource,
Vec3 wDestination,
List< Vec3 > path,
float craftWidth = 5.0f )
abstract

Member Data Documentation

◆ BuildingCost

float TaleWorlds.Library.PathFinder.BuildingCost = 5000.0f
static

◆ WaterCost

float TaleWorlds.Library.PathFinder.WaterCost = 400.0f
static

◆ ShallowWaterCost

float TaleWorlds.Library.PathFinder.ShallowWaterCost = 100.0f
static