src/societal_level/CellSociety.java
public Tuple<Color[][], Dimensions> step() {
		applySettings();
		stepAllCells(getAllEmptyCells());
		updatePatches();
		edgeCheck();
		return new Tuple<Color[][], Dimensions>(getCurrentColors(), getSize());
	}
/**
	 * Step function (update) -- Applies the current rules of the simulation To
	 * each of the current Cells. Sorts the current cells by Cell-defined
	 * preference (decided with the compareTo method in each Cell), putting
	 * certain types of Cells first on the list the update. This is used in
	 * WaterWorld to have the Sharks update before the fish so that the eaten
	 * fish can be removed before the fish update. After the sorting, it calls
	 * guidedStep to shuffle the cells and update each, PROVIDING the Cells any
	 * available positions to move into, breed into, etc. (passing null)
	 * 
	 * @return 2D Array of current Cell colors
	 */
Step function (update) -- Applies the current rules of the simulation To
each of the current Cells. Sorts the current cells by Cell-defined
preference (decided with the compareTo method in each Cell), putting
certain types of Cells first on the list the update. This is used in
WaterWorld to have the Sharks update before the fish so that the eaten
fish can be removed before the fish update. After the sorting, it calls
guidedStep to shuffle the cells and update each, PROVIDING the Cells any
available positions to move into, breed into, etc. (passing null)

@return 2D Array of current Cell colors
Step function ( update ) -- Applies the current rules of the simulation To each of the current Cells . Sorts the current cells by Cell - defined preference ( decided with the compareTo method in each Cell ) putting certain types of Cells first on the list the update . This is used in WaterWorld to have the Sharks update before the fish so that the eaten fish can be removed before the fish update . After the sorting it calls guidedStep to shuffle the cells and update each PROVIDING the Cells any available positions to move into breed into etc . ( passing null ) @return 2D Array of current Cell colors
public Tuple<Color[][], Dimensions> step() {
		applySettings();
		stepAllCells(getAllEmptyCells());
		updatePatches();
		edgeCheck();
		return new Tuple<Color[][], Dimensions>(getCurrentColors(), getSize());
	}
public Tuple < Color [ ] [ ] , Dimensions > step ( ) { applySettings ( ) ; stepAllCells ( getAllEmptyCells ( ) ) ; updatePatches ( ) ; edgeCheck ( ) ; return new Tuple < Color [ ] [ ] , Dimensions > ( getCurrentColors ( ) , getSize ( ) ) ; }
Step function (update) -- Applies the current rules of the simulation To
 each of the current Cells.
Step function ( update ) -- Applies the current rules of the simulation To each of the current Cells .