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 class
WorldSoundManager.WorldSound
-
Field Summary
Fields Modifier and Type Field Description java.util.Stack
freeSounds
static WorldSoundManager
instance
java.util.ArrayList
SoundList
-
Constructor Summary
Constructors Constructor Description WorldSoundManager()
-
Method Summary
Modifier and Type Method Description void
addSound(boolean sourceIsZombie, int x, int y, int z, int radius, int volume, boolean stressHumans, float zombieIgnoreDist, float stressMod)
void
addSound(IsoObject source, int x, int y, int z, int radius, int volume)
void
addSound(IsoObject source, int x, int y, int z, int radius, int volume, boolean StessHumans)
void
addSound(IsoObject source, int x, int y, int z, int radius, int volume, boolean StessHumans, float zombieIgnoreDist, float stressMod)
WorldSoundManager.WorldSound
getBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType)
WorldSoundManager.WorldSound
getBiggestSoundZomb(int x, int y, int z, boolean ignoreBySameType, IsoZombie zom)
WorldSoundManager.WorldSound
getNew()
float
getStressFromSounds(int x, int y, int z)
void
init(IsoCell cell)
void
initFrame()
void
KillCell()
void
render()
void
update()
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()
-