Interface ClientReceiveSoundEvent.LocationalSound
- All Superinterfaces:
ClientEvent, ClientReceiveSoundEvent, Event
- Enclosing interface:
ClientReceiveSoundEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClientReceiveSoundEvent
ClientReceiveSoundEvent.EntitySound, ClientReceiveSoundEvent.LocationalSound, ClientReceiveSoundEvent.StaticSound -
Method Summary
Methods inherited from interface ClientEvent
getVoicechatMethods inherited from interface ClientReceiveSoundEvent
getId, getRawAudio, setRawAudioMethods inherited from interface Event
cancel, isCancellable, isCancelled
-
Method Details
-
getPosition
Position getPosition()- Returns:
- the position of the sound
-
getDistance
float getDistance()- Returns:
- the distance, the audio can be heard
-