Skip to content

five-on-it / packages/ai/src/police / wantedView

Function: wantedView() ​

wantedView(ai, client): object

Defined in: packages/ai/src/police.ts:554

A player's Wanted level as they are shown it: the stars, the Heat (whole), whether the police see them.

Parameters ​

ai ​

AiWorld

client ​

number

Returns ​

object

heat ​

heat: number

seen ​

seen: boolean

stars ​

stars: number