680681682683684685686687688689690
|| position.get(s.n()) == EPiece.BQ) { return true; } s = square; while (s.e() != null && position.get(s.e()) == null) { s = s.e(); } if (position.get(s.e()) == EPiece.BR || position.get(s.e()) == EPiece.BQ) { return true;
681682683684685686687688689690691
return true; } s = square; while (s.e() != null && position.get(s.e()) == null) { s = s.e(); } if (position.get(s.e()) == EPiece.BR || position.get(s.e()) == EPiece.BQ) { return true; }
683684685686687688689690691692693
s = square; while (s.e() != null && position.get(s.e()) == null) { s = s.e(); } if (position.get(s.e()) == EPiece.BR || position.get(s.e()) == EPiece.BQ) { return true; } s = square;
684685686687688689690691692693694
s = square; while (s.e() != null && position.get(s.e()) == null) { s = s.e(); } if (position.get(s.e()) == EPiece.BR || position.get(s.e()) == EPiece.BQ) { return true; } s = square; while (s.s() != null && position.get(s.s()) == null) {
248249250251252253254255256257258
break; } } s = square; while (s.e() != null) { s = s.e(); if (position.get(s) == null) { moves.add(new CMove(square, s)); } else if (position.get(s).getSide() != side) { moves.add(new CMove(square, s));
249250251252253254255256257258259
} } s = square; while (s.e() != null) { s = s.e(); if (position.get(s) == null) { moves.add(new CMove(square, s)); } else if (position.get(s).getSide() != side) { moves.add(new CMove(square, s)); break;
551552553554555556557558559560561
|| position.get(s.n()) == EPiece.WQ) { return true; } s = square; while (s.e() != null && position.get(s.e()) == null) { s = s.e(); } if (position.get(s.e()) == EPiece.WR || position.get(s.e()) == EPiece.WQ) { return true;
552553554555556557558559560561562
return true; } s = square; while (s.e() != null && position.get(s.e()) == null) { s = s.e(); } if (position.get(s.e()) == EPiece.WR || position.get(s.e()) == EPiece.WQ) { return true; }