Package de.gurkenlabs.litiengine.sound
Interface SoundPlaybackListener
- All Superinterfaces:
java.util.EventListener
public interface SoundPlaybackListener
extends java.util.EventListener
This event listener implementation provides callbacks for when a
SoundPlayback
instance gets cancelled or finished.Method Summary
Modifier and Type Method Description default void
cancelled(SoundEvent event)
This method gets called when aSoundPlayback
is cancelled.default void
finished(SoundEvent event)
This method gets called when aSoundPlayback
is finished.
Method Details
cancelled
This method gets called when aSoundPlayback
is cancelled.- Parameters:
event
- aSoundEvent
object describing the event source and the relatedSound
.
finished
This method gets called when aSoundPlayback
is finished.- Parameters:
event
- aSoundEvent
object describing the event source and the relatedSound
.