mp3 = new MP3Player(ostToPlay);
mp3.setRepeat(true);
new Thread(mp3).start();
try {
StaticWindow window;
if (params.getParValueBoolean("Polytris.Ultimate")) {
window = StaticMethods.showImage(ImageIO.read(new File("sharedDirectory/Polytris/PolytrisLogo-extreme.png")), "", true);
window.setSize(window.getWidth() - 40, window.getHeight() - 15);
} else {
window = StaticMethods.showImage(ImageIO.read(new File("sharedDirectory/Polytris/PolytrisLogo.png")), "", true);
window.setSize(window.getWidth() - 35, window.getHeight() - 15);
}
window.setLocationRelativeTo(null);
Thread.sleep(7500);
window.dispose();
} catch (Exception e1) {
System.out.println("Whoops!" + e1);
}
AllroundVideoPlugin vid = (AllroundVideoPlugin) umg.getSimTime().getPluginObject(new AllroundVideoPlugin().id());