Skip to content

GameMountProps beta ​

Interface of @v12-engine/client

ts
export interface GameMountProps

What a game is drawn with (see GameMount): the run it draws (runGame), and how its screens look

Members ​

error ​

ts
error?: ErrorLook;

The screen that says the game could not be loaded, or stopped: words of its own, a component, an element (ErrorLook)

hud ​

ts
hud?: boolean;

Whether the HUD is shown. Yes when left out: without, the game is the view alone, for a page that draws its own

loading ​

ts
loading?: LoadingLook;

How the game's loading screen looks; the client's own when left out

run ​

ts
run: GameRun;

The game, from its load to its end (runGame): started as the mount is, disposed when it goes