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