Finish initiate all the button in the gridPane For MenuLevel
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mat 2023-05-01 20:48:49 +02:00
parent 7ac860850c
commit a43e3b150a
2 changed files with 2 additions and 11 deletions

View File

@ -35,8 +35,6 @@ public class MenuLevelDay1 extends GridPane {
Level_button[1] = new Button("2"); Level_button[1] = new Button("2");
Level_button[2]= new Button("3"); Level_button[2]= new Button("3");
Level_button[3]= new Button("4"); Level_button[3]= new Button("4");
Level_button[4] = new Button("5");
Level_button[5]= new Button("6");
Level_button[6] = new Button("7"); Level_button[6] = new Button("7");
Level_button[7] = new Button("8"); Level_button[7] = new Button("8");
Level_button[8] = new Button("9"); Level_button[8] = new Button("9");
@ -44,6 +42,8 @@ public class MenuLevelDay1 extends GridPane {
Level_button[10] = new Button("Day 2"); Level_button[10] = new Button("Day 2");
Level_button[11] = new Button("Day 3"); Level_button[11] = new Button("Day 3");
Level_button[12] = new Button("Back to menu"); Level_button[12] = new Button("Back to menu");
Level_button[4] = new Button("5");
Level_button[5]= new Button("6");
//add to the good position in gridpane all the button //add to the good position in gridpane all the button
GdP.add(Level_button[10],1,0); GdP.add(Level_button[10],1,0);
GdP.add(Level_button[11],1,0); GdP.add(Level_button[11],1,0);

View File

@ -1,9 +0,0 @@
package school_project.Menu;
import school_project.Menu.MenuLevelDay1;
public class MenuLevelDay2 extends MenuLevelDay1 {
public MenuLevelDay2(){
super();
}
}