tipgame.util
Class Sound.CurrentlyPlayingListener

java.lang.Object
  extended by tipgame.util.Sound.CurrentlyPlayingListener
All Implemented Interfaces:
java.util.EventListener, javax.sound.sampled.LineListener
Enclosing class:
Sound

static class Sound.CurrentlyPlayingListener
extends java.lang.Object
implements javax.sound.sampled.LineListener

This class removes finished clips from the currentlyPlaying collection.

Author:
Jam Jenkins

Constructor Summary
Sound.CurrentlyPlayingListener()
           
 
Method Summary
 void update(javax.sound.sampled.LineEvent arg0)
          removes finished tracks from currentlyPlaying
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sound.CurrentlyPlayingListener

Sound.CurrentlyPlayingListener()
Method Detail

update

public void update(javax.sound.sampled.LineEvent arg0)
removes finished tracks from currentlyPlaying

Specified by:
update in interface javax.sound.sampled.LineListener
See Also:
LineListener.update(javax.sound.sampled.LineEvent)