Fix up the Song enum class

Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com>
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 79caec1fdf
commit 39e7948795
  1. 13
      src/sig/engine/Song.java

@ -1,22 +1,13 @@
package sig.engine;
import java.io.File;
import java.io.IOException;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.SourceDataLine;
import javax.sound.sampled.UnsupportedAudioFileException;
public enum Song{
WOOLOOKOLOGIE(new File("..","Woolookologie.wav"));
File songFile;
public Song(File f) {
this.songFile=songFile;
Song(File f) {
this.songFile=f;
}
}
Loading…
Cancel
Save