Package zombie
Class WorldSoundManager
java.lang.Object
zombie.WorldSoundManager
public class WorldSoundManager
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classWorldSoundManager.WorldSound -
Field Summary
Fields Modifier and Type Field Description java.util.StackfreeSoundsstatic WorldSoundManagerinstancejava.util.ArrayListSoundList -
Constructor Summary
Constructors Constructor Description WorldSoundManager() -
Method Summary
Modifier and Type Method Description voidaddSound(boolean sourceIsZombie, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod)voidaddSound(IsoObject source, int x, int y, int z, int radius, int volume)voidaddSound(IsoObject source, int x, int y, int z, int radius, int volume, boolean StessHumans)voidaddSound(IsoObject source, int x, int y, int z, int radius, int volume, boolean StessHumans, float zombieIgnoreDist, float stressMod)WorldSoundManager.WorldSoundgetBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType)WorldSoundManager.WorldSoundgetBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType, IsoZombie zom)WorldSoundManager.WorldSoundgetNew()floatgetStressFromSounds(int x, int y, int z)voidinit(IsoCell cell)voidinitFrame()voidKillCell()voidrender()voidupdate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
SoundList
public java.util.ArrayList SoundList -
freeSounds
public java.util.Stack freeSounds
-
-
Constructor Details
-
WorldSoundManager
public WorldSoundManager()
-
-
Method Details
-
init
-
initFrame
public void initFrame() -
KillCell
public void KillCell() -
getNew
-
addSound
-
addSound
public void addSound(IsoObject source, int x, int y, int z, int radius, int volume, boolean StessHumans) -
addSound
public void addSound(IsoObject source, int x, int y, int z, int radius, int volume, boolean StessHumans, float zombieIgnoreDist, float stressMod) -
addSound
public void addSound(boolean sourceIsZombie, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod) -
getBiggestSoundZomb
public WorldSoundManager.WorldSound getBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType) -
getBiggestSoundZomb
public WorldSoundManager.WorldSound getBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType, IsoZombie zom) -
getStressFromSounds
public float getStressFromSounds(int x, int y, int z) -
update
public void update() -
render
public void render()
-