acutallyAdded = randomFilter(pMatter.mass); currentLevel += acutallyAdded; currentFoodItems.add(pMatter); return acutallyAdded;
    public float addFoodMatterMass(FoodMatter pMatter) {        float acutallyAdded = 0f;        if ((pMatter.mass + currentLevel) > currentCapacity) {            //adding more than currentCapacity            acutallyAdded = currentCapacity - currentLevel;            currentLevel += acutallyAdded;            overflow += (pMatter.mass - acutallyAdded);            float fractionOfOriginal = acutallyAdded / pMatter.mass;            FoodMatter newFoodMatter = new FoodMatter(acutallyAdded,                    pMatter.waterContent * fractionOfOriginal, pMatter.type);            currentFoodItems.add(newFoodMatter);            return acutallyAdded;        } else {            acutallyAdded = randomFilter(pMatter.mass);            currentLevel += acutallyAdded;            currentFoodItems.add(pMatter);            return acutallyAdded;        }    }