MenuLook beta
Interface of @v12-engine/client
ts
export interface MenuLookThe pause menu as the game wants it (GameView.hud.menu): lines of its own, and whether the client's are there too
Members
entries
ts
entries?: MenuEntry[] | ((client: GameClientApi) => MenuEntry[]);Lines of the game's own, after the client's Resume, Settings, Keys, Saves, Score, the pause and Give up, and before Leave
onEscape
ts
onEscape?: boolean;Whether Esc opens it. Yes when left out: a game that wants Esc for itself says no, and opens it in code
standard
ts
standard?: boolean;Whether the client's own lines are there (Resume, Settings, Keys, Saves, Pause the game, Give up, Restart, Leave). Yes when left out