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

    Modifier and Type Method Description
    java.lang.String getName()  
    boolean isPlaying()  
    void pause()  
    void setName​(java.lang.String string)  
    void setVolume​(float float1)  
    void start()  
    void stop()  
    void update()  

    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

      public GameSoundClip clip
    • effectiveVolume

      public float effectiveVolume
  • Constructor Details

    • AmbientSoundEffect

      public AmbientSoundEffect​(java.lang.String string)
  • Method Details

    • setVolume

      public void setVolume​(float float1)
      Specified by:
      setVolume in interface Audio
    • start

      public void start()
      Specified by:
      start in interface Audio
    • pause

      public void pause()
      Specified by:
      pause in interface Audio
    • stop

      public void stop()
      Specified by:
      stop in interface Audio
    • isPlaying

      public boolean isPlaying()
      Specified by:
      isPlaying in interface Audio
    • setName

      public void setName​(java.lang.String string)
      Specified by:
      setName in interface Audio
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface Audio
    • update

      public void update()