Skip to content

five-on-it / packages/ai/src/crowd / setCrowd

Function: setCrowd() ​

setCrowd(ai, options): void

Defined in: packages/ai/src/crowd.ts:337

Sets how many pedestrians the world keeps, and where they may appear and go.

Parameters ​

ai ​

AiWorld

options ​

CrowdOptions

Returns ​

void