Class WorldSoundManager
java.lang.Object
zombie.WorldSoundManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSound(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod) addSound(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod, boolean sourceIsZombie, boolean doSend, boolean remote) addSound(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod, boolean sourceIsZombie, boolean doSend, boolean remote, boolean repeating, boolean stressAnimals) addSoundRepeating(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans) addSoundRepeating(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, boolean stressAnimals) addSoundRepeating(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod) getBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType, IsoZombie zom) floatgetHearingMultiplier(int hearing) floatgetHearingMultiplier(IsoZombie zombie) getNew()getSoundAnimal(IsoAnimal animal) floatgetSoundAttract(WorldSoundManager.WorldSound sound, IsoZombie zom) floatgetSoundAttractAnimal(WorldSoundManager.WorldSound sound, IsoAnimal animal) getSoundZomb(IsoZombie zom) floatgetStressFromSounds(int x, int y, int z) voidvoidvoidKillCell()voidrender()voidupdate()
-
Field Details
-
instance
-
soundList
-
-
Constructor Details
-
WorldSoundManager
public WorldSoundManager()
-
-
Method Details
-
init
-
initFrame
public void initFrame() -
KillCell
public void KillCell() -
getNew
-
addSound
public WorldSoundManager.WorldSound addSound(Object source, int x, int y, int z, int radius, int volume) -
addSound
public WorldSoundManager.WorldSound addSound(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans) -
addSound
public WorldSoundManager.WorldSound addSound(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod) -
addSoundRepeating
public WorldSoundManager.WorldSound addSoundRepeating(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod) -
addSound
public WorldSoundManager.WorldSound addSound(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod, boolean sourceIsZombie, boolean doSend, boolean remote) -
addSound
public WorldSoundManager.WorldSound addSound(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod, boolean sourceIsZombie, boolean doSend, boolean remote, boolean repeating, boolean stressAnimals) -
addSoundRepeating
public WorldSoundManager.WorldSound addSoundRepeating(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans, boolean stressAnimals) -
addSoundRepeating
public WorldSoundManager.WorldSound addSoundRepeating(Object source, int x, int y, int z, int radius, int volume, boolean stressHumans) -
getSoundZomb
-
getSoundAnimal
-
getBiggestSoundZomb
public WorldSoundManager.ResultBiggestSound getBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType, IsoZombie zom) -
getSoundAttract
-
getSoundAttractAnimal
-
getStressFromSounds
public float getStressFromSounds(int x, int y, int z) -
update
public void update() -
render
public void render() -
getHearingMultiplier
-
getHearingMultiplier
public float getHearingMultiplier(int hearing)
-