Ok final project of semester is to make a maze with gui , i started with the disjoint class already but am a bit confused on how the walls or cells will work with disjoint sets, has in how do i go about creating them
will this work? , my thinking is making all of them true, has in they exist at the beggining and false when one is knocked down.
protected boolean[][] horizontalWalls;
protected boolean[][] verticalWalls;
Now how would i go about combining this with my disjoint sets that keep track of the cells that are connected.
Do i have to create a cell class too? with walls has its attrubutes or something?