Make a package for all the Menu class
This commit is contained in:
parent
ee0350c251
commit
644af67a55
@ -25,8 +25,6 @@ public class Controller extends Application {
|
||||
//set up the page
|
||||
stage = primaryStage;
|
||||
stage.setTitle("ROAD TO MASTER YOU");
|
||||
|
||||
stage.setScene(MenuAcceuil);
|
||||
stage.show();
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package school_project;
|
||||
package school_project.Menu;
|
||||
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.geometry.Pos;
|
@ -1,4 +1,4 @@
|
||||
package school_project;
|
||||
package school_project.Menu;
|
||||
|
||||
import javafx.geometry.HPos;
|
||||
import javafx.geometry.Insets;
|
||||
@ -21,7 +21,7 @@ public class MenuLevelDay1 extends GridPane {
|
||||
GdP = new GridPane();
|
||||
//add all the button for level
|
||||
for (Button c : Level_button)
|
||||
c = new Button();
|
||||
c = new Button((String(c+1)));
|
||||
|
||||
Level_button[0] = new Button("1");
|
||||
Level_button[1] = new Button("2");
|
9
app/src/main/java/school_project/Menu/MenuLevelDay2.java
Normal file
9
app/src/main/java/school_project/Menu/MenuLevelDay2.java
Normal file
@ -0,0 +1,9 @@
|
||||
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