Skip to content

MenuControls beta ​

Interface of @v12-engine/client

ts
export interface MenuControls

What the place the game is played in lets the menu do: leave it, start it over. Said by what mounts the game

Members ​

leave ​

ts
leave?: {
        label: string;
        run: () => void;
    };

What the place the game is played in lets the player do to leave it: the line's label and what it does

name ​

ts
name?: string;

What the game is called where it is played (the scene's name)

restart ​

ts
restart?: (from?: WorldSave) => void;

Starts the game over, from a saved world when one is given; absent where the place cannot