Commit 61f4216b authored by dkonam's avatar dkonam
Browse files

fix

parent 7c908308
......@@ -282,6 +282,8 @@ public class DataFacade implements IDataCom, IDataIHMTable, IDataIHMMain {
} catch (IOException ex) {
ex.printStackTrace();
}
this.opponentHasLeftGame();
}
/**
......
......@@ -321,6 +321,7 @@ public class GameMediator {
if (this.currentGame.isShipDestroyed(ship, this.currentGame.getComputerPlayer().getMines())) {
this.currentGame.getComputerPlayer().loseFocus();
System.out.println("");
}
}
......@@ -666,7 +667,6 @@ public class GameMediator {
if (ready) //notify IA to place ships
{
System.out.println("Data | IA turn set ships");
this.currentGame.getComputerPlayer().setShips(this.currentGame.getTemplateShips());
this.dataFacade.getIhmTablefacade().notifyGameReady();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment