check a little bit
Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project.git
This commit is contained in:
parent
5e3c640ff8
commit
03ea5b41eb
|
|
@ -41,6 +41,8 @@ public class Check {
|
|||
|
||||
public boolean kingCheck() {
|
||||
altPieces.get(whatPiece(this.x,this.y)).setX(this.xMove);
|
||||
altPieces.get(whatPiece(this.x,this.y)).setY(this.yMove);
|
||||
|
||||
return isCheck;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue