fix sound path
This commit is contained in:
parent
c41dfbe243
commit
9a661633b9
|
@ -2,5 +2,6 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="VcsDirectoryMappings">
|
<component name="VcsDirectoryMappings">
|
||||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -11,7 +11,7 @@ public class SoundHandler {
|
||||||
|
|
||||||
private static boolean soundOn = true;
|
private static boolean soundOn = true;
|
||||||
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