zombie
Class WorldSoundManager

java.lang.Object
  extended by zombie.WorldSoundManager

public class WorldSoundManager
extends java.lang.Object

Author:
LEMMY

Nested Class Summary
 class WorldSoundManager.WorldSound
           
 
Field Summary
 WorldSoundManager.WorldSound[] Cache
           
static WorldSoundManager instance
           
 java.util.ArrayList<WorldSoundManager.WorldSound> SoundList
           
 
Constructor Summary
WorldSoundManager()
           
 
Method Summary
 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 getBiggestSound(IsoObject context, int x, int y, int z, boolean ignoreBySameType)
           
 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 getFromCache(int x, int y, int width, int height)
           
 float getStressFromSounds(int x, int y, int z)
           
 void init(IsoCell cell)
           
 void initFrame()
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static WorldSoundManager instance

SoundList

public java.util.ArrayList<WorldSoundManager.WorldSound> SoundList

Cache

public WorldSoundManager.WorldSound[] Cache
Constructor Detail

WorldSoundManager

public WorldSoundManager()
Method Detail

init

public void init(IsoCell cell)

initFrame

public void initFrame()

addSound

public void addSound(IsoObject source,
                     int x,
                     int y,
                     int z,
                     int radius,
                     int volume)

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)

getFromCache

public WorldSoundManager.WorldSound getFromCache(int x,
                                                 int y,
                                                 int width,
                                                 int height)

getBiggestSound

public WorldSoundManager.WorldSound getBiggestSound(IsoObject context,
                                                    int x,
                                                    int y,
                                                    int z,
                                                    boolean ignoreBySameType)

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()