Commit 5e924051 authored by Hugo DACLON's avatar Hugo DACLON
Browse files

c'est bon il manque plus que le résultat

parent c4f33845
......@@ -93,6 +93,8 @@ public class HostControleur implements ActionListener {
while(Network.getInfo(appli.getServerUrl(),appli.getGame(), appli.getPlayer())!=10){
try { attente.wait(1); } catch (InterruptedException e1) {System.out.println("haha");}
}
attente.dispose();
appli.afficherPageJeu();
} catch(IllegalMonitorStateException e2){
JOptionPane.showMessageDialog(appli.getFenetre(), "La partie à été annulée");
} catch (UnirestException e1) {
......
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