Finish initiate all the button in the gridPane For MenuLevel

This commit is contained in:
Mat 2023-05-01 20:48:49 +02:00 committed by Anthony Debucquoy
parent 0273703cbb
commit 456128c904
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
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[2]= new Button("3");
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[7] = new Button("8");
Level_button[8] = new Button("9");
@ -44,6 +42,8 @@ public class MenuLevelDay1 extends GridPane {
Level_button[10] = new Button("Day 2");
Level_button[11] = new Button("Day 3");
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
GdP.add(Level_button[10],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();
}
}