1681-engine / mobile / doubleBackToExit
Function: doubleBackToExit() ​
ts
function doubleBackToExit(options): () => void;Defined in: src/mobile/backButton.ts:49
An onRoot that quits on a second back press soon after the first, and tells the player after the first.
Parameters ​
| Parameter | Type |
|---|---|
options | DoubleBackOptions |
Returns ​
() => void