Closed ThomasThelen closed 6 years ago
From the Maze __init__ signature, def __init__(self, num_rows, num_cols, cell_size): we can see that we're taking cell_size in.
Maze
__init__
def __init__(self, num_rows, num_cols, cell_size):
cell_size
Furthermore, we set three member variables to values derived from cell_size
self.cell_size = cell_size self.height = num_rows*cell_size self.width = num_cols*cell_size
I propose that we take these out of the Maze class because
With your newest pull request I think this issue is taken care of?
From the
Maze
__init__
signature,def __init__(self, num_rows, num_cols, cell_size):
we can see that we're takingcell_size
in.Furthermore, we set three member variables to values derived from cell_size
I propose that we take these out of the Maze class because
Maze
, it's just accessed by maze_viz.Maze
aren't really part of a maze. A maze can exist without the notion ofcell_size