public class SoundManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
SoundHandler |
sndHandler |
Constructor and Description |
---|
SoundManager(SoundHandler p_i45119_1_,
GameSettings p_i45119_2_) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ISoundEventListener listener) |
boolean |
isSoundPlaying(ISound sound) |
void |
pauseAllSounds() |
void |
playDelayedSound(ISound sound,
int delay) |
void |
playSound(ISound p_sound) |
void |
reloadSoundSystem() |
void |
removeListener(ISoundEventListener listener) |
void |
resumeAllSounds() |
void |
setListener(EntityPlayer player,
float p_148615_2_) |
void |
setVolume(SoundCategory category,
float volume) |
void |
stop(java.lang.String p_189567_1_,
SoundCategory p_189567_2_) |
void |
stopAllSounds() |
void |
stopSound(ISound sound) |
void |
unloadSoundSystem() |
void |
updateAllSounds() |
public final SoundHandler sndHandler
public SoundManager(SoundHandler p_i45119_1_, GameSettings p_i45119_2_)
public void reloadSoundSystem()
public void setVolume(SoundCategory category, float volume)
public void unloadSoundSystem()
public void stopAllSounds()
public void addListener(ISoundEventListener listener)
public void removeListener(ISoundEventListener listener)
public void updateAllSounds()
public boolean isSoundPlaying(ISound sound)
public void stopSound(ISound sound)
public void playSound(ISound p_sound)
public void pauseAllSounds()
public void resumeAllSounds()
public void playDelayedSound(ISound sound, int delay)
public void setListener(EntityPlayer player, float p_148615_2_)
public void stop(java.lang.String p_189567_1_, SoundCategory p_189567_2_)