public void print() {
        int count = 0;
        for (int i = 0; i < mineField.length; i++) {
            System.out.print("(");
            for (int j = 0; j < mineField[i].length; j++) {
                if (mineField[i][j].hasMine()) {
                    System.out.print(" T ");
                    count++;
                } else {
                    System.out.print(" " + mineField[i][j].getAdjacentMines() + " ");
                }
            }
            System.out.println(") ");
        }
        System.out.println("Numero de minas = " + count);
    }