Package zombie
Class SoundManager.AmbientSoundEffect
java.lang.Object
zombie.SoundManager.AmbientSoundEffect
- All Implemented Interfaces:
Audio
- Enclosing class:
- SoundManager
public class SoundManager.AmbientSoundEffect extends java.lang.Object implements Audio
-
Field Summary
Fields Modifier and Type Field Description GameSoundClip
clip
float
effectiveVolume
long
eventDescription
long
eventInstance
float
gain
java.lang.String
name
-
Constructor Summary
Constructors Constructor Description AmbientSoundEffect(java.lang.String string)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
public java.lang.String name -
eventDescription
public long eventDescription -
eventInstance
public long eventInstance -
gain
public float gain -
clip
-
effectiveVolume
public float effectiveVolume
-
-
Constructor Details
-
AmbientSoundEffect
public AmbientSoundEffect(java.lang.String string)
-
-
Method Details
-
setVolume
public void setVolume(float float1) -
start
public void start() -
pause
public void pause() -
stop
public void stop() -
isPlaying
public boolean isPlaying() -
setName
public void setName(java.lang.String string) -
getName
public java.lang.String getName() -
update
public void update()
-