changements main et autre

This commit is contained in:
Manon
2019-05-26 16:08:09 +02:00
parent 540c7fbd30
commit 147c23fa98
4 changed files with 46 additions and 23 deletions

View File

@@ -212,7 +212,10 @@ public class Echiquier {
}
}
this.getEchiquier()[k][l].metEnEchec(this,stockageRoi); //Verifie si le roi sera en echec
if (this.getEchiquier()[k][l].metEnEchec(this,stockageRoi) == true) //Verifie si le roi sera en echec
{
System.out.println("Le roi adverse est en échec");
}
return true;
}
}