public Sound(GameEngine gm, String soundFile)
	{
		//Setting the 'game' instance
		game = gm;
		
		//Trying to load sound
		try
		{
			audioIn = AudioSystem.getAudioInputStream(Sound.class.getResource(soundFile));
			clip = AudioSystem.getClip();
			clip.open(audioIn);
		}
		catch (UnsupportedAudioFileException | IOException | LineUnavailableException e)
		{
			e.printStackTrace();
		}
		
		//Setting the volume of the sound
		audioVolume = (FloatControl) clip.getControl(FloatControl.Type.MASTER_GAIN);
		audioVolume.setValue(game.floatVolume);
	}