ab638b152c
- jQuery was added to make this work. - Cards were removed.
16 lines
371 B
JavaScript
16 lines
371 B
JavaScript
/* interface.js
|
|
script for the interface */
|
|
|
|
let soundEffects = {
|
|
'ding': new Audio('media/ding.mp4'),
|
|
'fallout': new Audio('media/Shells_falls-Marcel-829263474.mp3'),
|
|
'tada': new Audio('media/tada.mp3')
|
|
}
|
|
|
|
function app_dice_appearanceToggle(setting = true) {
|
|
if (setting) {
|
|
$('.dice').removeClass("scale-out");
|
|
} else {
|
|
$('.dice').addClass("scale-out");
|
|
}
|
|
};
|