Package zombie
Class SoundManager
java.lang.Object
zombie.BaseSoundManager
zombie.SoundManager
public class SoundManager extends BaseSoundManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SoundManager.AmbientSoundEffect
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
ambientPieces
float
AmbientVolume
static BaseSoundManager
instance
float
MusicVolume
float
SoundVolume
float
VehicleEngineVolume
Fields inherited from class zombie.BaseSoundManager
AllowMusic
-
Constructor Summary
Constructors Constructor Description SoundManager()
-
Method Summary
Modifier and Type Method Description Audio
BlendThenStart(Audio audio, float float1, java.lang.String string)
void
BlendVolume(Audio audio, float float1)
void
BlendVolume(Audio audio, float float1, float float2)
void
CacheSound(java.lang.String string)
void
CheckDoMusic()
void
debugScriptSounds()
void
DoMusic(java.lang.String string, boolean boolean1)
void
FadeOutMusic(java.lang.String string, int int1)
java.util.ArrayList
getAmbientPieces()
float
getAmbientVolume()
java.lang.String
getCurrentMusicLibrary()
java.lang.String
getCurrentMusicName()
float
getMusicPosition()
float
getMusicVolume()
float
getSoundVolume()
float
getVehicleEngineVolume()
protected boolean
HasMusic(Audio audio)
boolean
isListenerInRange(float float1, float float2, float float3)
boolean
IsMusicPlaying()
boolean
isPlayingMusic()
boolean
isRemastered()
void
pauseSoundAndMusic()
void
playAmbient(java.lang.String string)
void
PlayAsMusic(java.lang.String string, Audio audio, boolean boolean1, float float1)
void
PlayAsMusic(java.lang.String string, Audio audio, float float1, boolean boolean1)
Audio
PlayJukeboxSound(java.lang.String string, boolean boolean1, float float1)
void
playMusic(java.lang.String string)
Audio
PlayMusic(java.lang.String string, java.lang.String string2, boolean boolean1, float float1)
void
playMusicNonTriggered(java.lang.String string, float float1)
void
playNightAmbient(java.lang.String string)
Audio
PlaySound(java.lang.String string, boolean boolean1, float float1)
Audio
PlaySound(java.lang.String string, boolean boolean1, float float1, float float2)
Audio
PlaySoundEvenSilent(java.lang.String string, boolean boolean1, float float1)
Audio
PlaySoundWav(java.lang.String string, boolean boolean1, float float1)
Audio
PlaySoundWav(java.lang.String string, boolean boolean1, float float1, float float2)
Audio
PlaySoundWav(java.lang.String string, int int1, boolean boolean1, float float1)
Audio
PlayWorldSound(java.lang.String string, boolean boolean1, IsoGridSquare square, float float1, float float2, float float3, boolean boolean2)
Audio
PlayWorldSound(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, boolean boolean1)
Audio
PlayWorldSound(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, int int1, boolean boolean1)
Audio
PlayWorldSoundImpl(java.lang.String string, boolean boolean1, int int1, int int2, int int3, float float1, float float2, float float3, boolean boolean2)
Audio
PlayWorldSoundWav(java.lang.String string, boolean boolean1, IsoGridSquare square, float float1, float float2, float float3, boolean boolean2)
Audio
PlayWorldSoundWav(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, boolean boolean1)
void
PlayWorldSoundWav(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, int int1, boolean boolean1)
Audio
PlayWorldSoundWavImpl(java.lang.String string, boolean boolean1, IsoGridSquare square, float float1, float float2, float float3, boolean boolean2)
Audio
PrepareMusic(java.lang.String string)
void
Purge()
void
registerEmitter(BaseSoundEmitter baseSoundEmitter)
void
resumeSoundAndMusic()
void
setAmbientVolume(float float1)
void
setMusicVolume(float float1)
void
setSoundVolume(float float1)
void
setVehicleEngineVolume(float float1)
Audio
Start(Audio audio, float float1, java.lang.String string)
void
stop()
void
stopMusic(java.lang.String string)
void
StopMusic()
void
StopSound(Audio audio)
void
unregisterEmitter(BaseSoundEmitter baseSoundEmitter)
void
Update()
void
update1()
void
update2()
void
update3()
void
update3D()
void
update4()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SoundVolume
public float SoundVolume -
MusicVolume
public float MusicVolume -
AmbientVolume
public float AmbientVolume -
VehicleEngineVolume
public float VehicleEngineVolume -
ambientPieces
public java.util.ArrayList ambientPieces -
instance
-
-
Constructor Details
-
SoundManager
public SoundManager()
-
-
Method Details
-
isRemastered
public boolean isRemastered()- Specified by:
isRemastered
in classBaseSoundManager
-
BlendVolume
- Specified by:
BlendVolume
in classBaseSoundManager
-
BlendVolume
- Specified by:
BlendVolume
in classBaseSoundManager
-
BlendThenStart
- Specified by:
BlendThenStart
in classBaseSoundManager
-
FadeOutMusic
public void FadeOutMusic(java.lang.String string, int int1)- Specified by:
FadeOutMusic
in classBaseSoundManager
-
PlayAsMusic
- Specified by:
PlayAsMusic
in classBaseSoundManager
-
IsMusicPlaying
public boolean IsMusicPlaying()- Specified by:
IsMusicPlaying
in classBaseSoundManager
-
isPlayingMusic
public boolean isPlayingMusic()- Specified by:
isPlayingMusic
in classBaseSoundManager
-
getAmbientPieces
public java.util.ArrayList getAmbientPieces()- Specified by:
getAmbientPieces
in classBaseSoundManager
-
pauseSoundAndMusic
public void pauseSoundAndMusic()- Specified by:
pauseSoundAndMusic
in classBaseSoundManager
-
resumeSoundAndMusic
public void resumeSoundAndMusic()- Specified by:
resumeSoundAndMusic
in classBaseSoundManager
-
debugScriptSounds
public void debugScriptSounds()- Specified by:
debugScriptSounds
in classBaseSoundManager
-
registerEmitter
- Specified by:
registerEmitter
in classBaseSoundManager
-
unregisterEmitter
- Specified by:
unregisterEmitter
in classBaseSoundManager
-
isListenerInRange
public boolean isListenerInRange(float float1, float float2, float float3)- Specified by:
isListenerInRange
in classBaseSoundManager
-
playNightAmbient
public void playNightAmbient(java.lang.String string)- Specified by:
playNightAmbient
in classBaseSoundManager
-
playMusic
public void playMusic(java.lang.String string)- Specified by:
playMusic
in classBaseSoundManager
-
playAmbient
public void playAmbient(java.lang.String string)- Specified by:
playAmbient
in classBaseSoundManager
-
playMusicNonTriggered
public void playMusicNonTriggered(java.lang.String string, float float1)- Specified by:
playMusicNonTriggered
in classBaseSoundManager
-
stopMusic
public void stopMusic(java.lang.String string)- Specified by:
stopMusic
in classBaseSoundManager
-
CheckDoMusic
public void CheckDoMusic()- Specified by:
CheckDoMusic
in classBaseSoundManager
-
getMusicPosition
public float getMusicPosition()- Specified by:
getMusicPosition
in classBaseSoundManager
-
DoMusic
public void DoMusic(java.lang.String string, boolean boolean1)- Specified by:
DoMusic
in classBaseSoundManager
-
PlayAsMusic
- Specified by:
PlayAsMusic
in classBaseSoundManager
-
PlayMusic
public Audio PlayMusic(java.lang.String string, java.lang.String string2, boolean boolean1, float float1)- Specified by:
PlayMusic
in classBaseSoundManager
-
PlaySound
- Specified by:
PlaySound
in classBaseSoundManager
-
PlaySound
- Specified by:
PlaySound
in classBaseSoundManager
-
PlaySoundEvenSilent
- Specified by:
PlaySoundEvenSilent
in classBaseSoundManager
-
PlayJukeboxSound
- Specified by:
PlayJukeboxSound
in classBaseSoundManager
-
PlaySoundWav
- Specified by:
PlaySoundWav
in classBaseSoundManager
-
PlaySoundWav
- Specified by:
PlaySoundWav
in classBaseSoundManager
-
PlaySoundWav
- Specified by:
PlaySoundWav
in classBaseSoundManager
-
update3D
public void update3D()- Specified by:
update3D
in classBaseSoundManager
-
PlayWorldSound
public Audio PlayWorldSound(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, boolean boolean1)- Specified by:
PlayWorldSound
in classBaseSoundManager
-
PlayWorldSound
public Audio PlayWorldSound(java.lang.String string, boolean boolean1, IsoGridSquare square, float float1, float float2, float float3, boolean boolean2)- Specified by:
PlayWorldSound
in classBaseSoundManager
-
PlayWorldSoundImpl
public Audio PlayWorldSoundImpl(java.lang.String string, boolean boolean1, int int1, int int2, int int3, float float1, float float2, float float3, boolean boolean2)- Specified by:
PlayWorldSoundImpl
in classBaseSoundManager
-
PlayWorldSound
public Audio PlayWorldSound(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, int int1, boolean boolean1)- Specified by:
PlayWorldSound
in classBaseSoundManager
-
PlayWorldSoundWav
public Audio PlayWorldSoundWav(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, boolean boolean1)- Specified by:
PlayWorldSoundWav
in classBaseSoundManager
-
PlayWorldSoundWav
public Audio PlayWorldSoundWav(java.lang.String string, boolean boolean1, IsoGridSquare square, float float1, float float2, float float3, boolean boolean2)- Specified by:
PlayWorldSoundWav
in classBaseSoundManager
-
PlayWorldSoundWavImpl
public Audio PlayWorldSoundWavImpl(java.lang.String string, boolean boolean1, IsoGridSquare square, float float1, float float2, float float3, boolean boolean2)- Specified by:
PlayWorldSoundWavImpl
in classBaseSoundManager
-
PlayWorldSoundWav
public void PlayWorldSoundWav(java.lang.String string, IsoGridSquare square, float float1, float float2, float float3, int int1, boolean boolean1)- Specified by:
PlayWorldSoundWav
in classBaseSoundManager
-
PrepareMusic
- Specified by:
PrepareMusic
in classBaseSoundManager
-
Start
- Specified by:
Start
in classBaseSoundManager
-
Update
public void Update()- Specified by:
Update
in classBaseSoundManager
-
HasMusic
- Specified by:
HasMusic
in classBaseSoundManager
-
Purge
public void Purge()- Specified by:
Purge
in classBaseSoundManager
-
stop
public void stop()- Specified by:
stop
in classBaseSoundManager
-
StopMusic
public void StopMusic()- Specified by:
StopMusic
in classBaseSoundManager
-
StopSound
- Specified by:
StopSound
in classBaseSoundManager
-
CacheSound
public void CacheSound(java.lang.String string)- Specified by:
CacheSound
in classBaseSoundManager
-
update4
public void update4()- Specified by:
update4
in classBaseSoundManager
-
update2
public void update2()- Specified by:
update2
in classBaseSoundManager
-
update3
public void update3()- Specified by:
update3
in classBaseSoundManager
-
update1
public void update1()- Specified by:
update1
in classBaseSoundManager
-
setSoundVolume
public void setSoundVolume(float float1)- Specified by:
setSoundVolume
in classBaseSoundManager
-
getSoundVolume
public float getSoundVolume()- Specified by:
getSoundVolume
in classBaseSoundManager
-
setAmbientVolume
public void setAmbientVolume(float float1)- Specified by:
setAmbientVolume
in classBaseSoundManager
-
getAmbientVolume
public float getAmbientVolume()- Specified by:
getAmbientVolume
in classBaseSoundManager
-
setMusicVolume
public void setMusicVolume(float float1)- Specified by:
setMusicVolume
in classBaseSoundManager
-
getMusicVolume
public float getMusicVolume()- Specified by:
getMusicVolume
in classBaseSoundManager
-
setVehicleEngineVolume
public void setVehicleEngineVolume(float float1)- Specified by:
setVehicleEngineVolume
in classBaseSoundManager
-
getVehicleEngineVolume
public float getVehicleEngineVolume()- Specified by:
getVehicleEngineVolume
in classBaseSoundManager
-
getCurrentMusicName
public java.lang.String getCurrentMusicName()- Specified by:
getCurrentMusicName
in classBaseSoundManager
-
getCurrentMusicLibrary
public java.lang.String getCurrentMusicLibrary()- Specified by:
getCurrentMusicLibrary
in classBaseSoundManager
-