prepareGame beta
Function of @v12-engine/client/common
ts
export declare function prepareGame(asked: GameSource): Promise<PreparedGame>;Gets a game ready to be shown, from wherever it comes (GameSource): the world made, loaded or joined, what the game starts on it, and the player seated at it. Nothing of the screen is in it: launch shows what this makes, and a page that shows a game its own way starts here. A world made here goes with the seat (session.dispose()), and is disposed when anything after it fails