Add isMated() method to ChessEngine
parent
892e994739
commit
3dade8ce84
|
|
@ -71,4 +71,8 @@ public class ChessEngine {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isMated() {
|
||||||
|
return board.isMated();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue