Class SoundLoop

java.lang.Object
mindustry.audio.SoundLoop

public class SoundLoop extends Object
A simple class for playing a looping sound at a position.
  • Constructor Details

    • SoundLoop

      public SoundLoop(Sound sound, float baseVolume)
  • Method Details

    • update

      public void update(float x, float y, boolean play)
    • update

      public void update(float x, float y, boolean play, float volumeScl)
    • stop

      public void stop()