Kleine Bugfixes - Punkte werden beim Pause-Button ins Hauptmenü zurückgesetzt & ESC-Taste im Spiel fixen
This commit is contained in:
parent
f2f88c404d
commit
635aef047a
Happy_Bird
.gradle
7.1.1
buildOutputCleanup
build
classes/java/main/com/example/happy_bird
libs
tmp/compileJava
src/main/java/com/example/happy_bird
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() {
|
private void menuButtonPauseClick() {
|
||||||
/*alles vom pauseScreen entfernen*/
|
/*alles vom pauseScreen entfernen*/
|
||||||
pause.getChildren().clear();
|
pause.getChildren().clear();
|
||||||
|
pipesArrayList.clear();
|
||||||
|
collectedPoints = 0;
|
||||||
|
currentScoreLabel.setText("SCORE: " + collectedPoints);
|
||||||
/*pause von pane entfernen*/
|
/*pause von pane entfernen*/
|
||||||
pane.getChildren().clear();
|
pane.getChildren().clear();
|
||||||
|
|
||||||
@ -1083,10 +1085,6 @@ public class HappyBirdMain extends Application {
|
|||||||
backMenuButton.setOnAction(event -> backMenuButtonClick());
|
backMenuButton.setOnAction(event -> backMenuButtonClick());
|
||||||
personalHighscoresButton.setOnAction(event -> personalHighscoresButtonClick());
|
personalHighscoresButton.setOnAction(event -> personalHighscoresButtonClick());
|
||||||
restartGameButton.setOnAction(event -> restartGameButtonClick());
|
restartGameButton.setOnAction(event -> restartGameButtonClick());
|
||||||
|
|
||||||
//AB HIER MÜLL
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
Loading…
x
Reference in New Issue
Block a user