AppShell beta
Interface of @v12-engine/client/app
ts
export interface AppShellWhat a desktop shell says of leaving the game (a project of --desktop: its src/shell.ts): whether it can, and doing so. The client names no shell: a page in a browser's tab, which cannot close itself, has none or one that says it cannot
Members
canQuit
ts
canQuit(): boolean;Whether the shell can leave the game; the exit button shows only when it can
quit
ts
quit(): void | Promise<void>;Leaves the game, closing the window; may return a promise that settles when done