five-on-it / apps/client/src/ui/studio/missions / addPolygonZone
Function: addPolygonZone()
addPolygonZone(
game,points): {game:GameJson;id:string; } |undefined
Defined in: apps/client/src/ui/studio/missions.ts:170
A polygon zone drawn point by point (3 to 32 of them), under one new id; none for fewer than 3.
Parameters
game
points
readonly Pt[]
Returns
{ game: GameJson; id: string; } | undefined