src/demo/Maze.java
public boolean isOpen() {
            for (int index = 0; index < 4; index++) {
                Neighbor neighbor = neighbors[index];
                if (neighbor != null) if (neighbor.connected) return true;
            }
            return false;
        }
/**
         * Checks if cell can be reached.
         *
         * @return if true cell can be reached.
         */
Checks if cell can be reached.
@return if true cell can be reached.
Checks if cell can be reached . @return if true cell can be reached .
public boolean isOpen() {
            for (int index = 0; index < 4; index++) {
                Neighbor neighbor = neighbors[index];
                if (neighbor != null) if (neighbor.connected) return true;
            }
            return false;
        }
public boolean isOpen ( ) { for ( int index = 0 ; index < 4 ; index ++ ) { Neighbor neighbor = neighbors [ index ] ; if ( neighbor != null ) if ( neighbor . connected ) return true ; } return false ; }
Checks if cell can be reached.
Checks if cell can be reached .