make monsters killable and playing soundeffects

This commit is contained in:
2025-11-29 23:23:18 +01:00
parent b513370152
commit 36ff9e8854
4 changed files with 36 additions and 16 deletions

View File

@@ -22,6 +22,8 @@ public class Sound {
soundURL[2] = new File("assets/sounds/powerup.wav").toURI().toURL();
soundURL[3] = new File("assets/sounds/unlock.wav").toURI().toURL();
soundURL[4] = new File("assets/sounds/fanfare.wav").toURI().toURL();
soundURL[5] = new File("assets/sounds/hitmonster.wav").toURI().toURL();
soundURL[6] = new File("assets/sounds/receivedamage.wav").toURI().toURL();
} catch(MalformedURLException e) {
Boot.logger.log(Level.SEVERE, e.getMessage());
}