Skip to content

five-on-it / packages/ai/src/restricted / setRestrictedZones

Function: setRestrictedZones() ​

setRestrictedZones(ai, zones): void

Defined in: packages/ai/src/restricted.ts:59

Sets the room's restricted zones (the game's); who stood in the old ones is forgotten.

Parameters ​

ai ​

AiWorld

zones ​

readonly RestrictedZone[]

Returns ​

void