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