public void Draw(Graphics g) { generatingAlgorithm.Draw(g, this); solvingAlgorithm.Draw(g, this); DrawOutline(g); DrawMazeEdges(g); }