Exemple #1
0
 public static IEnumerable <Position> GetMoves(Board board, Position position)
 {
     return(Rook.GetMoves(board, position).Concat(Bishop.GetMoves(board, position)));
 }
Exemple #2
0
 public BishopMovement(Bishop bishop)
 {
     _bishop = bishop;
 }