Package zombie
Class AmbientSoundManager
java.lang.Object
zombie.BaseAmbientStreamManager
zombie.AmbientSoundManager
public final class AmbientSoundManager extends BaseAmbientStreamManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AmbientSoundManager.Ambient
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
ambient
boolean
initialized
-
Constructor Summary
Constructors Constructor Description AmbientSoundManager()
-
Method Summary
Modifier and Type Method Description void
addAmbient(java.lang.String string, int int1, int int2, int int3, float float1)
void
addAmbientEmitter(float float1, float float2, int int1, java.lang.String string)
void
addBlend(java.lang.String string, float float1, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4)
void
addDaytimeAmbientEmitter(float float1, float float2, int int1, java.lang.String string)
protected void
addRandomAmbient()
void
doAlarm(RoomDef roomDef)
void
doGunEvent()
void
doOneShotAmbients()
void
init()
void
stop()
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ambient
public final java.util.ArrayList ambient -
initialized
public boolean initialized
-
-
Constructor Details
-
AmbientSoundManager
public AmbientSoundManager()
-
-
Method Details
-
update
public void update()- Specified by:
update
in classBaseAmbientStreamManager
-
addAmbient
public void addAmbient(java.lang.String string, int int1, int int2, int int3, float float1)- Specified by:
addAmbient
in classBaseAmbientStreamManager
-
addAmbientEmitter
public void addAmbientEmitter(float float1, float float2, int int1, java.lang.String string)- Specified by:
addAmbientEmitter
in classBaseAmbientStreamManager
-
addDaytimeAmbientEmitter
public void addDaytimeAmbientEmitter(float float1, float float2, int int1, java.lang.String string)- Specified by:
addDaytimeAmbientEmitter
in classBaseAmbientStreamManager
-
doOneShotAmbients
public void doOneShotAmbients()- Specified by:
doOneShotAmbients
in classBaseAmbientStreamManager
-
init
public void init()- Specified by:
init
in classBaseAmbientStreamManager
-
addBlend
public void addBlend(java.lang.String string, float float1, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4)- Specified by:
addBlend
in classBaseAmbientStreamManager
-
addRandomAmbient
protected void addRandomAmbient()- Specified by:
addRandomAmbient
in classBaseAmbientStreamManager
-
doGunEvent
public void doGunEvent()- Specified by:
doGunEvent
in classBaseAmbientStreamManager
-
doAlarm
- Specified by:
doAlarm
in classBaseAmbientStreamManager
-
stop
public void stop()- Specified by:
stop
in classBaseAmbientStreamManager
-