Interface LocationalAudioChannel

All Superinterfaces:
AudioChannel

public interface LocationalAudioChannel extends AudioChannel
  • Method Details

    • updateLocation

      void updateLocation(Position position)
      Updates the location of the audio.
      Parameters:
      position - the audio location
    • getLocation

      Position getLocation()
      Returns:
      the current location of this channel
    • getDistance

      float getDistance()
      Returns:
      the distance, the audio can be heard
    • setDistance

      void setDistance(float distance)
      Parameters:
      distance - the distance, the audio can be heard