Class AudibleCapsuleArea
java.lang.Object
games.stendhal.client.sound.facade.AudibleCapsuleArea
- All Implemented Interfaces:
AudibleArea
- Author:
- silvio
-
Constructor Summary
ConstructorDescriptionAudibleCapsuleArea(float[] startPoint, float[] endPoint, float innerRadius, float outerRadius)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getClosestPoint(float[] result, float[] hearerPos)
void
getEndPoint(float[] result)
float
getHearingIntensity(float[] hearerPos)
float
float
void
getStartPoint(float[] result)
void
setArea(float innerRadius, float outerRadius)
void
setEndPoint(float[] point)
void
setStartPoint(float[] point)
-
Constructor Details
-
AudibleCapsuleArea
public AudibleCapsuleArea(float[] startPoint, float[] endPoint, float innerRadius, float outerRadius)
-
-
Method Details
-
setArea
public void setArea(float innerRadius, float outerRadius) -
setStartPoint
public void setStartPoint(float[] point) -
setEndPoint
public void setEndPoint(float[] point) -
getStartPoint
public void getStartPoint(float[] result) -
getEndPoint
public void getEndPoint(float[] result) -
getInnerRadius
public float getInnerRadius() -
getOuterRadius
public float getOuterRadius() -
getHearingIntensity
public float getHearingIntensity(float[] hearerPos)- Specified by:
getHearingIntensity
in interfaceAudibleArea
-
getClosestPoint
public void getClosestPoint(float[] result, float[] hearerPos)- Specified by:
getClosestPoint
in interfaceAudibleArea
-