Verbesserung einer Formatierungsfunktion
This commit is contained in:
parent
79db8a088a
commit
fcb650ffef
@ -155,7 +155,7 @@ public class FormatingClass {
|
|||||||
/***
|
/***
|
||||||
* formatiert den End-Screen
|
* formatiert den End-Screen
|
||||||
*/
|
*/
|
||||||
public void endScreenFormating(Pane endScreen, Pane pause, Label endScreenHeadline, Label currentScoreEndscreenLabel) {
|
public void endScreenFormating(Pane endScreen, Label endScreenHeadline, Label currentScoreEndscreenLabel) {
|
||||||
/*Endscreen-Pane formatieren*/
|
/*Endscreen-Pane formatieren*/
|
||||||
endScreen.setPrefSize(400, 500);
|
endScreen.setPrefSize(400, 500);
|
||||||
endScreen.setLayoutX(200);
|
endScreen.setLayoutX(200);
|
||||||
|
@ -1034,7 +1034,7 @@ public class HappyBirdMain extends Application {
|
|||||||
* sich seine persänlichen Highscores anzeigen zu lassen
|
* sich seine persänlichen Highscores anzeigen zu lassen
|
||||||
*/
|
*/
|
||||||
public void generateEndScreen() {
|
public void generateEndScreen() {
|
||||||
formatingClass.endScreenFormating(endScreen, pause, endScreenHeadline, currentScoreEndscreenLabel);
|
formatingClass.endScreenFormating(endScreen, endScreenHeadline, currentScoreEndscreenLabel);
|
||||||
/*Name und Highscores ausblenden, Pause-Button ausblenden*/
|
/*Name und Highscores ausblenden, Pause-Button ausblenden*/
|
||||||
nameLabel.setVisible(false);
|
nameLabel.setVisible(false);
|
||||||
highscoreLabel.setVisible(false);
|
highscoreLabel.setVisible(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user