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
    long eventDescription  
    long eventInstance  
    float gain  
    java.lang.String name  
  • Constructor Summary

    Constructors
    Constructor Description
    AmbientSoundEffect​(java.lang.String name)  
  • Method Summary

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

    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
  • Constructor Details

    • AmbientSoundEffect

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

    • setVolume

      public void setVolume​(float volume)
      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 choice)
      Specified by:
      setName in interface Audio
    • getName

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