Class AudibleCircleArea

java.lang.Object
games.stendhal.client.sound.facade.AudibleCircleArea
All Implemented Interfaces:
AudibleArea

public class AudibleCircleArea extends Object implements AudibleArea
AudibleCircleAfrea defines a circular area for audible objects.
Author:
silvio
  • Constructor Details

    • AudibleCircleArea

      public AudibleCircleArea(float[] center, float innerRadius, float outerRadius)
  • Method Details

    • setArea

      public void setArea(float innerRadius, float outerRadius)
    • setPosition

      public void setPosition(float[] position)
    • getPosition

      public void getPosition(float[] result)
    • getInnerRadius

      public float getInnerRadius()
    • getOuterRadius

      public float getOuterRadius()
    • getHearingIntensity

      public float getHearingIntensity(float[] hearerPos)
      Specified by:
      getHearingIntensity in interface AudibleArea
    • getClosestPoint

      public void getClosestPoint(float[] result, float[] hearerPos)
      Specified by:
      getClosestPoint in interface AudibleArea
    • toString

      public String toString()
      Overrides:
      toString in class Object