Remove: useless files and music

This commit is contained in:
2026-06-14 21:48:40 +02:00
parent c4ac556759
commit c189e20c66
6 changed files with 1 additions and 16 deletions
-3
View File
@@ -1,3 +0,0 @@
TODO
1-Persistenza
2-Resilienza
Binary file not shown.
Binary file not shown.
View File
@@ -15,8 +15,7 @@ import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.KeyCombination;
import javafx.scene.layout.StackPane;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.stage.Screen;
@@ -67,8 +66,6 @@ public class GUI extends Application implements IView {
private boolean autoReenterFullscreen = true;
/** Guards against overlapping fade transitions. */
private boolean isFading = false;
/** Background music player looping indefinitely. */
private MediaPlayer bgMusic;
/**
@@ -156,15 +153,6 @@ public class GUI extends Application implements IView {
primaryStage.show();
Platform.runLater(() -> primaryStage.setFullScreen(true));
try {
String musicUrl = getClass().getResource("/Audio/Music.mp3").toExternalForm();
bgMusic = new MediaPlayer(new Media(musicUrl));
bgMusic.setCycleCount(MediaPlayer.INDEFINITE);
bgMusic.setVolume(0.4);
bgMusic.play();
} catch (Exception e) {
System.err.println("Audio unavailable: " + e.getMessage());
}
}
Binary file not shown.