Skip to main content

ZylemGameState

@zylem/game-lib


@zylem/game-lib / web-components / ZylemGameState

Interface: ZylemGameState

Defined in: packages/game-lib/src/web-components/zylem-game.ts:14

State interface for editor-to-game communication

Indexable​

[key: string]: unknown

Properties​

gameState?​

optional gameState?: object

Defined in: packages/game-lib/src/web-components/zylem-game.ts:15

Index Signature​

[key: string]: unknown

debugFlag?​

optional debugFlag?: boolean


toolbarState?​

optional toolbarState?: object

Defined in: packages/game-lib/src/web-components/zylem-game.ts:19

paused?​

optional paused?: boolean

tool?​

optional tool?: DebugTools