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

Public Member Functions

 PathFinder ()
 
virtual void Destroy ()
 
abstract void Initialize (Vec3 bbSize)
 
abstract 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()

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

◆ FindPath()

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

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