src/demo/Maze.java
public void visitNeighbors() {
            for (Neighbor neighbor : getUnvisitedNeighbors()) {
                Cell cell = neighbor.passTo(this);
                if (cell != null) cell.visitNeighbors();
            }
        }
/**
         * Visits all neighbors not visited so far.
         *
         */
Visits all neighbors not visited so far.
Visits all neighbors not visited so far .
public void visitNeighbors() {
            for (Neighbor neighbor : getUnvisitedNeighbors()) {
                Cell cell = neighbor.passTo(this);
                if (cell != null) cell.visitNeighbors();
            }
        }
public void visitNeighbors ( ) { for ( Neighbor neighbor : getUnvisitedNeighbors ( ) ) { Cell cell = neighbor . passTo ( this ) ; if ( cell != null ) cell . visitNeighbors ( ) ; } }
Visits all neighbors not visited so far.
Visits all neighbors not visited so far .