v1 #4
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
|
|
@ -2,6 +2,7 @@ class Sound{
|
||||||
constructor(url){
|
constructor(url){
|
||||||
this.sound = new Audio(url);
|
this.sound = new Audio(url);
|
||||||
this.sound.type = "audio/mp3";
|
this.sound.type = "audio/mp3";
|
||||||
|
this.sound.volume = 0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
play(){
|
play(){
|
||||||
|
|
|
||||||
Laden …
In neuem Issue referenzieren