Beispiel #1
0
 public override float value(DynamicMineral aMineral)
 {
     return(aMineral.size);
 }
Beispiel #2
0
 public override float value(DynamicMineral aMineral)
 {
     return(aMineral.Map.fertilityGrid.FertilityAt(aMineral.Position));
 }
Beispiel #3
0
 public override float value(DynamicMineral aMineral)
 {
     return(aMineral.distFromNeededTerrain);
 }
Beispiel #4
0
 public override float value(DynamicMineral aMineral)
 {
     return(aMineral.Map.glowGrid.GameGlowAt(aMineral.Position));
 }
Beispiel #5
0
 public override float value(DynamicMineral aMineral)
 {
     return(aMineral.Map.weatherManager.curWeather.rainRate);
 }
Beispiel #6
0
 public override float value(DynamicMineral aMineral)
 {
     return(aMineral.Position.GetTemperature(aMineral.Map));
 }
Beispiel #7
0
        public float belowMinDecayRate; // How quickly it decays when below minStableFert

        public abstract float value(DynamicMineral aMineral);
Beispiel #8
0
 public virtual float growthRateFactorAtPos(DynamicMineral aMineral)
 {
     return(growthRateFactor(valueAtPos(aMineral)));
 }