public void RemoveEffects() { foreach (Good effect in buildEffects) { effect.stock = 0; Good.Remove(owner.goods, effect); } }