Class SoundEvent

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

public class SoundEvent extends EventObject
This implementation is used for all events that need to pass a Sound object to their listeners.
See Also:
  • Method Details

    • getSound

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

      public String toString()
      Overrides:
      toString in class EventObject