add Sound in to Thread #5
|
@ -10,8 +10,10 @@ import java.util.Map;
|
|||
public class SoundHandler {
|
||||
|
||||
private static boolean soundOn = true;
|
||||
|
||||
// Wenn fehler beim erstellen von .jar mit sound hier gucken
|
||||
private static HashMap<String, String> sounds = new HashMap<String, String>(Map.of(
|
||||
"hit", "~/../Sound/water-drip.mp3"
|
||||
"hit", "./Sound/water-drip.mp3"
|
||||
));
|
||||
|
||||
public static void playSound(String soundName) {
|
||||
|
|
Loading…
Reference in New Issue