Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>main
parent
79caec1fdf
commit
39e7948795
@ -1,22 +1,13 @@ |
|||||||
package sig.engine; |
package sig.engine; |
||||||
|
|
||||||
import java.io.File; |
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{ |
public enum Song{ |
||||||
WOOLOOKOLOGIE(new File("..","Woolookologie.wav")); |
WOOLOOKOLOGIE(new File("..","Woolookologie.wav")); |
||||||
|
|
||||||
File songFile; |
File songFile; |
||||||
|
|
||||||
public Song(File f) { |
Song(File f) { |
||||||
this.songFile=songFile; |
this.songFile=f; |
||||||
} |
} |
||||||
} |
} |
Loading…
Reference in new issue