Skip to content

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

Function: withGameState() ​

withGameState(game, state): GameJson

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

A game with its own state (flags and counters every mission shares) set, or gone (undefined).

Parameters ​

game ​

GameJson

state ​

unknown

Returns ​

GameJson