Just wondering how to use my .wav in my jar using the library slick. Currently here is my code and I don't want to change it to a different library. Mostly because I've got lots of useful slick 'voids' inside it. Here's the code so far...
public class AudioPlayer {
public static Map<String, Music> musicMap = new HashMap<String, Music>();
public static void load() throws SlickException{
musicMap.put("music", new Music(THIS IS WHERE THE STREAM/RESOURCES CODE WOULD GO));
}
public static Music getMusic(String key) {
return musicMap.get(key);
}
}