LogoPixi’VN
indexNamespacesGameFunctions

Function: onEnd()

> onEnd(value): void

Defined in: src/index.ts:308

Function to be executed at the end of the game. It should be set in the game initialization.

Parameters

value

StepLabelType

Returns

void

Example

Game.onEnd(async (props) => {
   props.navigate("/end")
})