public bool IsCheckAfterMove(FigureMoving fm) { Board after = Move(fm); bool result = after.CanEatKing(); return(result); }
public bool IsCheck() { Board after = new Board(Fen); after.MoveColor = MoveColor.FlipColor(); bool result = after.CanEatKing(); return(result); }