public void AdjustGases(float delta) { foreach (KeyValuePair <Gas, float> entry in gasDeltas) { atmosphere.ChangeGasAmt(entry.Key, entry.Value * plantBlocks.Count); } }
public override void _PhysicsProcess(float delta) { delta *= Game.SPEED; bs.GetBacteriaList().ForEach(b => { atm.ChangeGasAmt(b.GasType, delta * b.Amount * b.ProductionRate); }); }