ErrorActions beta
Interface of @v12-engine/client
ts
export interface ErrorActionsWhat there is to do about a game that stopped: on the client's error screen as buttons, and given to a game's own
Members
back
ts
back?: {
label: string;
run: () => void;
};Out of the game, where the page has a way: back to the scenes, the menu. Nothing without
lastSave
ts
lastSave(): Promise<{
label: string;
save: WorldSave;
} | undefined>;The last place to go on from, where there is one: the rules' last checkpoint, or the newest save of this game in the browser. Nothing for a game that cannot be saved
loadAgain
ts
loadAgain(): void;The game again: from where it stood when its device was lost, from its start otherwise
restart
ts
restart(from?: WorldSave): void;The game again from a save, or from its start