Zusammenführung ClickEvents 2
This commit is contained in:
@@ -87,7 +87,7 @@ public class HappyBirdMain extends Application {
|
||||
menuButton.setLayoutY(625);
|
||||
menuButton.setVisible(false);
|
||||
|
||||
Button buttons[] = {startButton, highscoresButton, settingsButton};
|
||||
//Button buttons[] = {startButton, highscoresButton, settingsButton};
|
||||
|
||||
int yPosition = 225;
|
||||
for (Button button : buttons) {
|
||||
@@ -113,7 +113,7 @@ public class HappyBirdMain extends Application {
|
||||
headline.setText("Start");
|
||||
for(Button button : buttons) {
|
||||
button.setVisible(false);
|
||||
|
||||
menuButton.setVisible(true);
|
||||
}
|
||||
|
||||
Label nameLabel = new Label("Name:");
|
||||
@@ -165,7 +165,7 @@ public class HappyBirdMain extends Application {
|
||||
});
|
||||
|
||||
|
||||
startButton.setOnAction(event -> {});
|
||||
//startButton.setOnAction(event -> {});
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user