change acceuil to accueil #55

Merged
Mat_02 merged 1 commits from Acceuil_to_Accueil into master 2023-05-16 20:25:58 +02:00
4 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ import javafx.scene.Scene;
import javafx.scene.input.KeyCombination;
import javafx.stage.Screen;
import javafx.stage.Stage;
import school_project.Menu.MenuAcceuil;
import school_project.Menu.MenuAccueil;
import java.io.IOException;
@ -32,7 +32,7 @@ public class Controller extends Application {
stage.setFullScreenExitHint("");
primaryStage.setFullScreenExitKeyCombination(KeyCombination.NO_MATCH);
root = new MenuAcceuil();
root = new MenuAccueil();
switchRoot(root);
stage.show();

View File

@ -2,7 +2,7 @@ package school_project;
import javafx.scene.Group;
import javafx.scene.input.MouseButton;
import school_project.Menu.MenuAcceuil;
import school_project.Menu.MenuAccueil;
import school_project.Utils.MatrixShape;
import java.io.FileNotFoundException;
@ -72,7 +72,7 @@ public class GameUI extends Group{
_piece.setLayoutY(grid.getLayoutY() + p.getPosition().x * (SEGMENT_SIZE+SPACE_SIZE));
}
if(level.gameDone()){
Controller.switchRoot(new MenuAcceuil());
Controller.switchRoot(new MenuAccueil());
}
}
});

View File

@ -7,10 +7,10 @@ import javafx.scene.layout.BorderPane;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import school_project.Controller;
public class MenuAcceuil extends BorderPane {
public class MenuAccueil extends BorderPane {
public MenuAcceuil(){
public MenuAccueil(){
super();
//create all the objet that i need
Button Play = new Button("Play");

View File

@ -18,7 +18,7 @@ public class MenuLevel extends GridPane {
Button[] Days = new Button[3];
Button BckMenu = new Button("Back to menu");
BckMenu.setOnAction(event -> Controller.switchRoot(new MenuAcceuil()));
BckMenu.setOnAction(event -> Controller.switchRoot(new MenuAccueil()));
setHalignment(BckMenu,HPos.CENTER);
add(BckMenu,2,4);