src/cellular_level/SlimeCell.java
private void moveTowardsSlime(CellData data) {
		ArrayList<Patch> slime = getSlimePatches(data);
		if (slime.size() == 0) {
			return;
		}
		Location target = data.getTargetLocation(slime, this, sniffThresh);
		toWalkOrNot(target, data);
		Location newSpot = data.spotNearTarget(target, this);
		if (newSpot != null) {
			this.setMyLocation(newSpot);
		}
	}
// Takes in an ArrayList of SlimePatches on board
Takes in an ArrayList of SlimePatches on board
Takes in an ArrayList of SlimePatches on board
private void moveTowardsSlime(CellData data) {
		ArrayList<Patch> slime = getSlimePatches(data);
		if (slime.size() == 0) {
			return;
		}
		Location target = data.getTargetLocation(slime, this, sniffThresh);
		toWalkOrNot(target, data);
		Location newSpot = data.spotNearTarget(target, this);
		if (newSpot != null) {
			this.setMyLocation(newSpot);
		}
	}
private void moveTowardsSlime ( CellData data ) { ArrayList < Patch > slime = getSlimePatches ( data ) ; if ( slime . size ( ) == 0 ) { return ; } Location target = data . getTargetLocation ( slime , this , sniffThresh ) ; toWalkOrNot ( target , data ) ; Location newSpot = data . spotNearTarget ( target , this ) ; if ( newSpot != null ) { this . setMyLocation ( newSpot ) ; } }
Takes in an ArrayList of SlimePatches on board
Takes in an ArrayList of SlimePatches on board