net.sf.freecol.client.gui.sound
Class SfxLibrary

java.lang.Object
  extended by net.sf.freecol.client.gui.sound.SoundLibrary
      extended by net.sf.freecol.client.gui.sound.SfxLibrary

public final class SfxLibrary
extends SoundLibrary

A SfxLibrary stores an array of playlists for use with sound-effects.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.freecol.client.gui.sound.SoundLibrary
SoundLibrary.SoundEffect
 
Constructor Summary
SfxLibrary(java.lang.String freeColHome)
          The constructor.
 
Method Summary
 
Methods inherited from class net.sf.freecol.client.gui.sound.SoundLibrary
get, get
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SfxLibrary

public SfxLibrary(java.lang.String freeColHome)
           throws FreeColException
The constructor.

Parameters:
freeColHome - A directory containing the "audio"-directory.
Throws:
FreeColException - If the "sfx"-directory could not be found in the path spesified by freeColHome.