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

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

public final class MusicLibrary
extends SoundLibrary

A MusicLibrary stores an array of playlists for use with music.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.freecol.client.gui.sound.SoundLibrary
SoundLibrary.SoundEffect
 
Field Summary
static int INTRO
           
static int SILENCE
           
 
Constructor Summary
MusicLibrary(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
 

Field Detail

SILENCE

public static final int SILENCE
See Also:
Constant Field Values

INTRO

public static final int INTRO
See Also:
Constant Field Values
Constructor Detail

MusicLibrary

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

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