src/cellular_level/TreeCell.java
@Override
	public List<Cell> update(CellData data) {
		ArrayList <Cell> nextGen = new ArrayList<Cell>();
		if(countBurnTrees(data)>=1 && catchFire()){
			BurnCell child = new BurnCell();
			child.copyLocation(this);
			nextGen.add(child);
		}
		else{
			nextGen.add(this);
		}
		return nextGen;
	}
/**
	 * @param data CellData object holding info for Cell
	 * @return An ArrayList of Cells for the next generation of Cells. This ArrayList will
	 * either contain the current Cell, if it does not catch fire, or a new BurnCell in the
	 * same location (if the tree has caught fire)
	 */
@param data CellData object holding info for Cell
@return An ArrayList of Cells for the next generation of Cells. This ArrayList will
either contain the current Cell, if it does not catch fire, or a new BurnCell in the
same location (if the tree has caught fire)
@param data CellData object holding info for Cell @return An ArrayList of Cells for the next generation of Cells . This ArrayList will either contain the current Cell if it does not catch fire or a new BurnCell in the same location ( if the tree has caught fire )
@Override
	public List<Cell> update(CellData data) {
		ArrayList <Cell> nextGen = new ArrayList<Cell>();
		if(countBurnTrees(data)>=1 && catchFire()){
			BurnCell child = new BurnCell();
			child.copyLocation(this);
			nextGen.add(child);
		}
		else{
			nextGen.add(this);
		}
		return nextGen;
	}
@ Override public List < Cell > update ( CellData data ) { ArrayList < Cell > nextGen = new ArrayList < Cell > ( ) ; if ( countBurnTrees ( data ) >= 1 && catchFire ( ) ) { BurnCell child = new BurnCell ( ) ; child . copyLocation ( this ) ; nextGen . add ( child ) ; } else { nextGen . add ( this ) ; } return nextGen ; }
@param data CellData object holding info for Cell
 @return An ArrayList of Cells for the next generation of Cells.
@param data CellData object holding info for Cell @return An ArrayList of Cells for the next generation of Cells .