|
|
|
@ -138,7 +138,9 @@ public class RaceFinishController extends Controller {
|
|
|
|
public void mainMenuPressed() throws IOException {
|
|
|
|
public void mainMenuPressed() throws IOException {
|
|
|
|
AudioClip sound = new AudioClip(this.getClass().getResource("/visualiser/sounds/buttonpress.wav").toExternalForm());
|
|
|
|
AudioClip sound = new AudioClip(this.getClass().getResource("/visualiser/sounds/buttonpress.wav").toExternalForm());
|
|
|
|
sound.play();
|
|
|
|
sound.play();
|
|
|
|
|
|
|
|
try {
|
|
|
|
App.game.endEvent();
|
|
|
|
App.game.endEvent();
|
|
|
|
|
|
|
|
} catch (Exception e){};
|
|
|
|
loadTitleScreen();
|
|
|
|
loadTitleScreen();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|