Mauvaise initialisation
This commit is contained in:
parent
fbd87bc091
commit
ff052e94ac
@ -38,9 +38,9 @@ public class Puissance4Controller {
|
||||
this.panel.init();
|
||||
this.panel.resetButton(resetListener);
|
||||
ModelEventListener modelListener = new ModelEventListener(panel);
|
||||
this.panel.changeLabel(this.modele.getPlayerTurn());
|
||||
this.panel.setPlayerOneName(this.modele.getPlayerOneName());
|
||||
this.panel.setPlayerTwoName(this.modele.getPlayerTwoName());
|
||||
this.panel.changeLabel(this.modele.getPlayerTurn());
|
||||
//Ajout listener au modèle
|
||||
this.modele.addGridListener(modelListener);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user