five-on-it / packages/ai/src/pathfinding / LinkWeights
Interface: LinkWeights
Defined in: packages/ai/src/pathfinding.ts:304
How the links of a layered navigation are searched: what a second of one costs, and a further multiplier per link.
Properties
extra?
optionalextra?: (link) =>number
Defined in: packages/ai/src/pathfinding.ts:308
A further multiplier per link (a link that just failed someone is dear for a while).
Parameters
link
number
Returns
number
pace
pace:
number
Defined in: packages/ai/src/pathfinding.ts:306
The cost of a link's second, as metres of open ground walked: a walking pace (m/s).