revert Merge branch 'main' of https://grond.iut-fbleau.fr/stiti/SAE31_2024
This commit is contained in:
2024-11-16 18:45:51 +01:00
parent 6232e6f93e
commit e9a5543328
26 changed files with 437 additions and 74 deletions

View File

@@ -1,15 +1,12 @@
public class GameController {
private GameView view;
private Board board;
// Constructeur qui prend GameView comme argument
public GameController(GameView view) {
this.view = view;
this.board = view.getBoard(); // Associer le Board à partir de la vue
}
// Méthode pour démarrer le jeu
public void startGame() {
view.setVisible(true); // Afficher la fenêtre
System.out.println("Bienvenue dans Dorfromantik simplifié !");
view.showTile();
}
}