Class SoundEvent

java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.sound.SoundEvent
All Implemented Interfaces:
java.io.Serializable

public class SoundEvent
extends java.util.EventObject
This implementation is used for all events that need to pass a Sound object to their listeners.
See Also:
SoundPlayback.cancel(), SoundPlayback.finish(), Serialized Form
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Method Summary

    Modifier and TypeMethodDescription
    SoundgetSound()
    Gets the related Sound instance.
    java.lang.StringtoString() 

    Methods inherited from class java.util.EventObject

    getSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getSound

      public Sound getSound()
      Gets the related Sound instance.
      Returns:
      The sound object.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.util.EventObject