five-on-it / apps/client/src/gui/game-ui / GameUiOptions
Interface: GameUiOptions
Defined in: apps/client/src/gui/game-ui.ts:75
What createGameUi needs.
Properties
actions
actions:
GameUiActions
Defined in: apps/client/src/gui/game-ui.ts:82
camera
camera: () =>
Camera|null
Defined in: apps/client/src/gui/game-ui.ts:79
The camera the scene draws with (the labels project with its view).
Returns
Camera | null
canvas
canvas:
HTMLCanvasElement
Defined in: apps/client/src/gui/game-ui.ts:81
The page's canvas: its size in CSS pixels is the theme's.
engine
engine:
Engine
Defined in: apps/client/src/gui/game-ui.ts:77
minimapScale?
optionalminimapScale?: () =>number
Defined in: apps/client/src/gui/game-ui.ts:84
The minimap's size as a share of the game's (the settings'), which the phone stands above.
Returns
number
scene
scene:
Scene
Defined in: apps/client/src/gui/game-ui.ts:76