(self, text_maze, wall_char='*', make_odd_sized_walls=False)
Initializes this _MazeWallCoveringContext.

    Args:
      text_maze: A `labmaze.TextGrid` instance.
      wall_char: (optional) The character that signifies a wall.
      make_odd_sized_walls: (optional) A boolean, if `True` all wall sections
        generated span odd numbers of grid cells. This option exists primarily
        to appease MuJoCo's texture repeating algorithm.
Initializes this _MazeWallCoveringContext.
Initializes this _MazeWallCoveringContext .
def __init__(self, text_maze, wall_char='*', make_odd_sized_walls=False):
    """Initializes this _MazeWallCoveringContext.

    Args:
      text_maze: A `labmaze.TextGrid` instance.
      wall_char: (optional) The character that signifies a wall.
      make_odd_sized_walls: (optional) A boolean, if `True` all wall sections
        generated span odd numbers of grid cells. This option exists primarily
        to appease MuJoCo's texture repeating algorithm.
    """
    self._text_maze = text_maze
    self._wall_char = wall_char
    self._make_odd_sized_walls = make_odd_sized_walls
    self._covered = np.full(text_maze.shape, False, dtype=np.bool)
    self._maze_size = GridCoordinates(*text_maze.shape)
    self._next_start = GridCoordinates(0, 0)
    self._calculated = False
    self._walls = ()
def __init__ ( self , text_maze , wall_char = '*' , make_odd_sized_walls = False ) : self . _text_maze = text_maze self . _wall_char = wall_char self . _make_odd_sized_walls = make_odd_sized_walls self . _covered = np . full ( text_maze . shape , False , dtype = np . bool ) self . _maze_size = GridCoordinates ( * text_maze . shape ) self . _next_start = GridCoordinates ( 0 , 0 ) self . _calculated = False self . _walls = ( )