forget to update syntaxe with the array
This commit is contained in:
parent
dd76f4c0df
commit
4cf6fff9af
@ -35,19 +35,19 @@ public class MenuLevelDay1 extends Scene {
|
|||||||
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");
|
||||||
//add to the good position in gridpane all the button
|
//add to the good position in gridpane all the button
|
||||||
GdP.add(Day_2,1,0);
|
GdP.add(Level_button[10],1,0);
|
||||||
GdP.add(Day_3,1,0);
|
GdP.add(Level_button[11],1,0);
|
||||||
GdP.add(_1,0,1);
|
GdP.add(Level_button[0],0,1);
|
||||||
GdP.add(_2,1,1);
|
GdP.add(Level_button[1],1,1);
|
||||||
GdP.add(_3,2,1);
|
GdP.add(Level_button[2],2,1);
|
||||||
GdP.add(_4,0,2);
|
GdP.add(Level_button[3],0,2);
|
||||||
GdP.add(_5,1,2);
|
GdP.add(Level_button[4],1,2);
|
||||||
GdP.add(_6,2,2);
|
GdP.add(Level_button[5],2,2);
|
||||||
GdP.add(_7,0,3);
|
GdP.add(Level_button[6],0,3);
|
||||||
GdP.add(_8,1,3);
|
GdP.add(Level_button[7],1,3);
|
||||||
GdP.add(_9,2,3);
|
GdP.add(Level_button[8],2,3);
|
||||||
GdP.add(_10,1,4);
|
GdP.add(Level_button[9],1,4);
|
||||||
GdP.add(bck_menu,2,4);
|
GdP.add(Level_button[12],2,4);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user