removed unnecessary code

This commit is contained in:
2025-11-30 03:49:21 +01:00
parent 0a7d12aec6
commit c82bad796e
4 changed files with 2 additions and 13 deletions

View File

@@ -101,7 +101,7 @@ public class UI {
messages.remove(i);
messageCounter.remove(i);
}
};
}
}
// GAME STATES

View File

@@ -6,7 +6,6 @@ import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Level;
@@ -49,14 +48,6 @@ public class Sound {
}
}
public void play() {
clip.start();
}
public void loop() {
clip.loop(Clip.LOOP_CONTINUOUSLY);
}
public void stop() {
clip.stop();
}