(self)
Moves `self._next_start` to the top-left corner of the next wall.
Moves `self._next_start` to the top-left corner of the next wall.
Moves self . _next_start to the top - left corner of the next wall .
def _find_next_start(self):
    """Moves `self._next_start` to the top-left corner of the next wall."""
    for y in range(self._next_start.y, self._maze_size.y):
      start_x = self._next_start.x if y == self._next_start.y else 0
      for x in range(start_x, self._maze_size.x):
        if self._text_maze[y, x] == self._wall_char and not self._covered[y, x]:
          self._next_start = GridCoordinates(y, x)
          return
    self._next_start = self._maze_size
def _find_next_start ( self ) : for y in range ( self . _next_start . y , self . _maze_size . y ) : start_x = self . _next_start . x if y == self . _next_start . y else 0 for x in range ( start_x , self . _maze_size . x ) : if self . _text_maze [ y , x ] == self . _wall_char and not self . _covered [ y , x ] : self . _next_start = GridCoordinates ( y , x ) return self . _next_start = self . _maze_size