mergeTerrain(boards[i * sheetWidth + j]);
    public void combine(int width, int height, int sheetWidth, int sheetHeight, Board[] boards) {        int totalWidth = width * sheetWidth;        int totalHeight = height * sheetHeight;                newData(totalWidth, totalHeight);                for (int i = 0; i < sheetHeight; i++) {            for (int j = 0; j < sheetWidth; j++) {                mergeTerrain(boards[i * sheetWidth + j]);                copyBoardInto(j * width, i * height, boards[i * sheetWidth + j]);            }        }            }