Kleine Bugfixes - Punkte werden beim Pause-Button ins Hauptmenü zurückgesetzt & ESC-Taste im Spiel fixen
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -788,7 +788,9 @@ public class HappyBirdMain extends Application {
|
||||
private void menuButtonPauseClick() {
|
||||
/*alles vom pauseScreen entfernen*/
|
||||
pause.getChildren().clear();
|
||||
|
||||
pipesArrayList.clear();
|
||||
collectedPoints = 0;
|
||||
currentScoreLabel.setText("SCORE: " + collectedPoints);
|
||||
/*pause von pane entfernen*/
|
||||
pane.getChildren().clear();
|
||||
|
||||
@@ -1083,10 +1085,6 @@ public class HappyBirdMain extends Application {
|
||||
backMenuButton.setOnAction(event -> backMenuButtonClick());
|
||||
personalHighscoresButton.setOnAction(event -> personalHighscoresButtonClick());
|
||||
restartGameButton.setOnAction(event -> restartGameButtonClick());
|
||||
|
||||
//AB HIER MÜLL
|
||||
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
|
Reference in New Issue
Block a user