From 39e7948795cb9f6d9c443bba56032cb91b296a57 Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Tue, 12 Jul 2022 15:38:49 +0000 Subject: [PATCH] Fix up the Song enum class Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 --- src/sig/engine/Song.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/sig/engine/Song.java b/src/sig/engine/Song.java index d767abc..3b2e2ae 100644 --- a/src/sig/engine/Song.java +++ b/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; } } \ No newline at end of file