add Java Project #2

Merged
lgc merged 6 commits from ole into main 2024-10-29 11:49:50 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 9a661633b9 - Show all commits

View File

@ -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>

View File

@ -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) {