Interface ClientLocationalAudioChannel
- All Superinterfaces:
ClientAudioChannel
-
Method Summary
Modifier and TypeMethodDescriptionfloatvoidsetDistance(float distance) voidsetLocation(Position position) Updates the location of the audio channel.Methods inherited from interface ClientAudioChannel
getCategory, getId, play, setCategory
-
Method Details
-
getLocation
Position getLocation()- Returns:
- the current location of the audio channel
-
setLocation
Updates the location of the audio channel.- Parameters:
position- the location of the audio 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
-