mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 20:16:16 -04:00
Wip : adventure mode
This commit is contained in:
parent
395968bc52
commit
6cf8fabf16
14 changed files with 457 additions and 114 deletions
|
@ -25,6 +25,16 @@ closeModaleButton.title = t("play.close_modale_window_tooltip");
|
|||
|
||||
let lastClickedItemIndex = -1;
|
||||
|
||||
export function requiredAsyncAlert<t>(p: {
|
||||
title?: string;
|
||||
text?: string;
|
||||
actions?: AsyncAlertAction<t>[];
|
||||
textAfterButtons?: string;
|
||||
actionsAsGrid?: boolean;
|
||||
}):Promise<t>{
|
||||
return asyncAlert({...p, allowClose:false})
|
||||
}
|
||||
|
||||
export async function asyncAlert<t>({
|
||||
title,
|
||||
text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue