Class SoundEffect

java.lang.Object
buildengine.audio.SoundEffect

public class SoundEffect extends Object
AudioClip with repeating functionality. While the sound effect should be played, use This can be called in update();
  • Constructor Details

    • SoundEffect

      public SoundEffect(AudioClip... sounds)
  • Method Details

    • setVolume

      public void setVolume(double volume)
    • play

      public void play()