Skip to content

five-on-it / apps/client/src/ui/studio/missions / addZone

Function: addZone() ​

addZone(game, at, radius?): object

Defined in: apps/client/src/ui/studio/missions.ts:156

A zone where the owner clicked: a place and its circle, under one new id.

Parameters ​

game ​

GameJson

at ​

Pt

radius? ​

number = 10

Returns ​

object

game ​

game: GameJson

id ​

id: string