revert 6232e6f93e
revert Merge branch 'main' of https://grond.iut-fbleau.fr/stiti/SAE31_2024
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user