Pixi’VN
indexNamespacesGameFunctions

Function: restoreGameState()

pixi-vn on GitHub

> restoreGameState(data): Promise<void>

Defined in: src/index.ts:394

Load the save data. Handlers registered with addOnRestoreGameState run before and/or after the built-in restoration, according to their timing.

Parameters

data

GameState

The save data object to restore the game state from.

Returns

Promise<void>

On this page