Skip to content
Snippets Groups Projects
Commit 6c3151ba authored by Louis MALTERRE's avatar Louis MALTERRE
Browse files

maj UML LM

parent 27763f2a
No related branches found
No related tags found
No related merge requests found
@startuml
@startuml PlanUML_CyberPac_2077
title Diagramme UML des Cyberpac 2077
......@@ -192,4 +192,9 @@ class environment.Physique{
- double g
}
class spotify.MP3{
- String file path
+ void displayMusic()
}
@enduml
\ No newline at end of file
......@@ -22,10 +22,6 @@ public class MP3 {
File music = new File(new File(filePath).getAbsolutePath());
try {
AudioInputStream audios = AudioSystem.getAudioInputStream(music);
//AudioFormat audioFormat = audios.getFormat();
//DataLine.Info info = new DataLine.Info(SourceDataLine.class, audioFormat);
//Clip clip = (Clip) AudioSystem.getLine(info);
//clip.addLineListener((LineListener) this);
Clip clip = AudioSystem.getClip();
clip.open(audios);
......
......@@ -3,8 +3,6 @@ package start;
import jeu.Painter;
import spotify.MP3;
import java.net.URL;
import engine.GameEngineGraphical;
import jeu.Controller;
import jeu.Jeu;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment