public SoundUtil() {
		ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
		try {
			for (int i = 0; i < fileNames.length; i++) {
				String name = fileNames[i];
				URL url = classLoader.getResource("resources/" + name);
				File audioFile = new File(url.toURI());
				AudioInputStream audioStream = AudioSystem.getAudioInputStream(audioFile);
				AudioFormat format = audioStream.getFormat();

				DataLine.Info info = new DataLine.Info(Clip.class, format);

				if (i == 0) {
					lowShipBeep = (Clip) AudioSystem.getLine(info);
					lowShipBeep.open(audioStream);
				} else if (i == 1) {
					highShipBeep = (Clip) AudioSystem.getLine(info);
					highShipBeep.open(audioStream);
				} else if (i == 2) {
					explosion = (Clip) AudioSystem.getLine(info);
					explosion.open(audioStream);
				}
			}
			
		} catch (IOException | URISyntaxException |
				UnsupportedAudioFileException | LineUnavailableException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}