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