Interface AmbientSoundEffect


  • public interface AmbientSoundEffect
    An ambient sound effect. These are loaded only at scene load and are used to play ambient sound effects that are purely client side and not sent from the server.
    • Method Detail

      • getSoundEffectId

        int getSoundEffectId()
        The id of the sound effect
        Returns:
        See Also:
        SoundEffectID
      • getBackgroundSoundEffectIds

        @Nullable
        int[] getBackgroundSoundEffectIds()
        The background sound effect ids. One sound effect is picked from this at random.
        Returns:
        See Also:
        SoundEffectID
      • getPlane

        int getPlane()
        The plane the sound effect is on
        Returns:
      • getMinPosition

        LocalPoint getMinPosition()
        The min x/y position of the area this sound effect is at.
        Returns:
      • getMaxPosition

        LocalPoint getMaxPosition()
        The max x/y position of the area this sound effect is at
        Returns: