change path from sound
This commit is contained in:
parent
521f6a578f
commit
0ae3c62215
|
@ -10,8 +10,10 @@ import java.util.Map;
|
||||||
public class SoundHandler {
|
public class SoundHandler {
|
||||||
|
|
||||||
private static boolean soundOn = true;
|
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(
|
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) {
|
public static void playSound(String soundName) {
|
||||||
|
|
Loading…
Reference in New Issue