public void openCell(int rowIndex, int colIndex, boolean showError) {

        System.out.println("Открываем ячейку [" + rowIndex + "][" + colIndex + "]");
        if (checkIndex(rowIndex, colIndex)) {
            if (!field[rowIndex][colIndex].isVisible() && !field[rowIndex][colIndex].isFlag()) {
                switch (field[rowIndex][colIndex].getCellType()) {
                    case Bomb:
                        openField();
                        System.out.println("Бомба в ячейке [" + rowIndex + "][" + colIndex + "] !!!");
                        win = false;
                        break;
                    case Index:
                        field[rowIndex][colIndex].show();
                        break;
                    case Empty:
                        showAround(rowIndex, colIndex);
                        break;
                }
                if (!complite){
                    checkComplete();
                }

            }
        } else if (showError) {
            System.out.println("Неверная ячейка [" + rowIndex + "][" + colIndex + "] !!!");
        }
    }