| Package | Description | 
|---|---|
| org.cell2d | 
| Modifier and Type | Field and Description | 
|---|---|
| static Music | Music. BLANKA blank Music track that produces no sound and plays indefinitely. | 
| Modifier and Type | Method and Description | 
|---|---|
| Music | CellGame. getMusic()Returns the Music track assigned to the greatest priority in this
 CellGame's music stack, if the music stack is not empty and there is
 exactly one such Music track, or null otherwise. | 
| Music | CellGame. getMusic(int priority)Returns the Music track assigned to the specified priority in this
 CellGame's music stack, if there is exactly one such Music track, or null
 otherwise. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Set<Music> | CellGame. getMusicTracks()Returns an unmodifiable Set view of the Music tracks that are assigned to
 the greatest priority in this CellGame's music stack, or an unmodifiable
 empty Set if the music stack is empty. | 
| java.util.Set<Music> | CellGame. getMusicTracks(int priority)Returns an unmodifiable Set view of the Music tracks that are assigned to
 the specified priority in this CellGame's music stack, or an unmodifiable
 empty Set if the music stack is empty. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CellGame. addMusic(int priority,
        Music music,
        boolean loop)Adds the specified Music track to the specified priority in this
 CellGame's music stack, replacing and removing all other Music tracks
 assigned to that priority. | 
| void | CellGame. addMusic(int priority,
        Music music,
        boolean loop,
        boolean replace)Adds the specified Music track to the specified priority in this
 CellGame's music stack. | 
| void | CellGame. addMusic(int priority,
        Music music,
        double speed,
        double volume,
        boolean loop)Adds the specified Music track to the specified priority in this
 CellGame's music stack, replacing and removing all other Music tracks
 assigned to that priority. | 
| void | CellGame. addMusic(int priority,
        Music music,
        double speed,
        double volume,
        boolean loop,
        boolean replace)Adds the specified Music track to the specified priority in this
 CellGame's music stack. | 
| void | CellGame. addMusic(Music music,
        boolean loop)Adds the specified Music track to the greatest priority in this
 CellGame's music stack, replacing and removing all other Music tracks
 assigned to that priority, or to priority 0 if the music stack is empty. | 
| void | CellGame. addMusic(Music music,
        boolean loop,
        boolean replace)Adds the specified Music track to the greatest priority in this
 CellGame's music stack, or to priority 0 if the music stack is empty. | 
| void | CellGame. addMusic(Music music,
        double speed,
        double volume,
        boolean loop)Adds the specified Music track to the greatest priority in this
 CellGame's music stack, replacing and removing all other Music tracks
 assigned to that priority, or to priority 0 if the music stack is empty. | 
| void | CellGame. addMusic(Music music,
        double speed,
        double volume,
        boolean loop,
        boolean replace)Adds the specified Music track to the greatest priority in this
 CellGame's music stack, or to priority 0 if the music stack is empty. | 
| boolean | CellGame. musicIsAtPriority(int priority,
                 Music music)Returns whether the specified Music track is assigned to the specified
 priority in this CellGame's music stack. | 
| void | CellGame. removeMusic(int priority,
           Music music)Removes the specified Music track from the specified priority in this
 CellGame's music stack if it is currently assigned to that priority. | 
| void | CellGame. removeMusic(Music music)Removes the specified Music track from the greatest priority in this
 CellGame's music stack if it is currently assigned to that priority. |