Skip to content

five-on-it / packages/ai/src/wanted / policeHashFields

Function: policeHashFields() ​

policeHashFields(book): number[]

Defined in: packages/ai/src/wanted.ts:764

The book as numbers, for the AI's hash: every Wanted level (its trail too), every unit and every strip, roadblock, rolling block, drone, red junction, SWAT team, K9 unit, talk and radio line, in order.

Parameters ​

book ​

PoliceBook

Returns ​

number[]