public void AddGrowth(int growth, StatusEffect modifier) { //adding to the growth's modifier (usually from status effects like farm hand, etc..) //Everything that is added is filtered through protecting status effects. int finalResult = growth; // Adding a middle variable instead of using the one provided by the argument foreach (var effect in statusEffects) { finalResult = effect.OnGrowthModified(this, modifier, finalResult); } crop.AddAge(finalResult); }