src/societal_level/CellSociety.java
public void updatePatches() {
		for (int i = 0; i < getPatches().length; i++) {
			for (int j = 0; j < getPatches()[0].length; j++) {
				getPatches()[i][j].update();
				getPatches()[i][j].setMyCell(null); // reset cells
			}
		}
		resetPatchCells();

	}
/**
	 * Resets the patches (background) with the current step by updating (taking
	 * Patch-specific action) and then reseting the Cell held by the patch to
	 * the new Cell layout
	 */
Resets the patches (background) with the current step by updating (taking
Patch-specific action) and then reseting the Cell held by the patch to
the new Cell layout
Resets the patches ( background ) with the current step by updating ( taking Patch - specific action ) and then reseting the Cell held by the patch to the new Cell layout
public void updatePatches() {
		for (int i = 0; i < getPatches().length; i++) {
			for (int j = 0; j < getPatches()[0].length; j++) {
				getPatches()[i][j].update();
				getPatches()[i][j].setMyCell(null); 
			}
		}
		resetPatchCells();
	}
public void updatePatches ( ) { for ( int i = 0 ; i < getPatches ( ) . length ; i ++ ) { for ( int j = 0 ; j < getPatches ( ) [ 0 ] . length ; j ++ ) { getPatches ( ) [ i ] [ j ] . update ( ) ; getPatches ( ) [ i ] [ j ] . setMyCell ( null ) ; } } resetPatchCells ( ) ; }
Resets the patches (background) with the current step by updating (taking
 Patch-specific action) and then reseting the Cell held by the patch to
 the new Cell layout
Resets the patches ( background ) with the current step by updating ( taking Patch - specific action ) and then reseting the Cell held by the patch to the new Cell layout
// reset cells