Finish initiate all the button in the gridPane For MenuLevel
This commit is contained in:
parent
0273703cbb
commit
456128c904
@ -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);
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
package school_project.Menu;
|
|
||||||
|
|
||||||
import school_project.Menu.MenuLevelDay1;
|
|
||||||
|
|
||||||
public class MenuLevelDay2 extends MenuLevelDay1 {
|
|
||||||
public MenuLevelDay2(){
|
|
||||||
super();
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user