public class SoundManager
extends java.lang.Object
Constructor and Description |
---|
SoundManager(SoundHandler p_i45119_1_,
GameSettings p_i45119_2_) |
Modifier and Type | Method and Description |
---|---|
void |
addDelayedSound(ISound p_148599_1_,
int p_148599_2_)
Adds a sound to play in n tick
|
void |
connect() |
boolean |
isSoundPlaying(ISound p_148597_1_)
Returns true if the sound is playing or still within time
|
void |
pauseAllSounds()
Pauses all currently playing sounds
|
void |
playSound(ISound p_148611_1_) |
void |
reloadSoundSystem() |
void |
resumeAllSounds()
Resumes playing all currently playing sounds (after pauseAllSounds)
|
void |
setListener(EntityPlayer p_148615_1_,
float p_148615_2_)
Sets the listener of sounds
|
void |
setSoundCategoryVolume(SoundCategory p_148601_1_,
float p_148601_2_)
Adjusts volume for currently playing sounds in this category
|
void |
stopAllSounds()
Stops all currently playing sounds
|
void |
stopSound(ISound p_148602_1_) |
void |
unloadSoundSystem()
Cleans up the Sound System
|
void |
updateAllSounds() |
public SoundManager(SoundHandler p_i45119_1_, GameSettings p_i45119_2_)
public void reloadSoundSystem()
public void setSoundCategoryVolume(SoundCategory p_148601_1_, float p_148601_2_)
public void unloadSoundSystem()
public void stopAllSounds()
public void updateAllSounds()
public boolean isSoundPlaying(ISound p_148597_1_)
public void stopSound(ISound p_148602_1_)
public void playSound(ISound p_148611_1_)
public void pauseAllSounds()
public void resumeAllSounds()
public void addDelayedSound(ISound p_148599_1_, int p_148599_2_)
public void connect()
public void setListener(EntityPlayer p_148615_1_, float p_148615_2_)