public Unit takeUnit(UnitType unitType) {
		if (unitType != UnitType.Terran_SCV) {
			return null;
		}
		Unit toGive = takeMineralsWorker();
		if (toGive != null) {
			return toGive;
		}
		for (ResourceInfo resource : gasses) {
			for (Unit worker : resource.workers) {
				if (!worker.isCarryingGas() && !worker.isConstructing()) {
					toGive = worker;
					break;
				}
			}
			if (toGive != null) {
				resource.workers.remove(toGive);
				return toGive;
			}
		}
		return null;
	}