Breath airRetrieved = myCurrentEnvironment.takeBreath(O2Needed);
Breath airRetrieved = myCurrentEnvironment.takeO2Breath(O2Needed);
	private void consumeResources(){		int currentActivityIntensity = myCurrentActivity.getActivityIntensity();		float O2Needed = calculateO2Needed(currentActivityIntensity);		float CO2Out = calculateCO2Produced(O2Needed);		float cleanWaterNeeded = calculateCleanWaterNeeded(currentActivityIntensity);		float dirtyWaterOut = calculateDirtyWaterProduced(cleanWaterNeeded);		float greyWaterOut = calculateGreyWaterProduced(dirtyWaterOut);		float foodNeeded = calculateFoodNeeded(currentActivityIntensity);				//adjust tanks		float foodRetrieved = myFoodStore.takeFood(foodNeeded);		float waterRetrieved = myPotableWaterStore.takeWater(cleanWaterNeeded);		Breath airRetrieved = myCurrentEnvironment.takeBreath(O2Needed);		float O2Retrieved = airRetrieved.O2;		myDirtyWaterStore.addWater(dirtyWaterOut);		myGreyWaterStore.addWater(greyWaterOut);		myCurrentEnvironment.addCO2(CO2Out);		float theCO2Ratio = getCO2Ratio(airRetrieved);		//afflict crew				if (foodRetrieved < foodNeeded){			System.out.println("CrewPerson: "+myName +" needed "+foodNeeded+" kgs of food, got only "+foodRetrieved +" kgs");			starvingTime++;		}		if (waterRetrieved < cleanWaterNeeded){			System.out.println("CrewPerson: "+myName +" needed "+cleanWaterNeeded+" liters of waters, got only "+waterRetrieved +" liters");			thirstTime++;		}		if (O2Retrieved < O2Needed){System.out.println(			"CrewPerson: "+myName +" needed "+O2Needed+" liters of O2, got only "+O2Retrieved +" liters");			suffocateTime++;		}		if (theCO2Ratio > 0.06){			System.out.println("CrewPerson: "+myName +" needed a ratio of "+0.06+" liters of CO2, got "+theCO2Ratio);			poisonTime++;		}	}