Skip to content

five-on-it / packages/ai/src/chaos / blendedSight

Function: blendedSight() ​

blendedSight<T>(sim, w, eid, seen): T | undefined

Defined in: packages/ai/src/chaos.ts:259

What the police's sight comes to for a player (police.ts): a sighting of a player who blends into a crowd counts once it has lasted BLEND.ticks (w.blend counts them); any other at once.

Type Parameters ​

T ​

T

Parameters ​

sim ​

SimWorld

w ​

blend ​

number

eid ​

number

seen ​

T | undefined

Returns ​

T | undefined