コード例 #1
0
 public override float GetScore(Tile tile)
 {
     if (tile.WaterCovered)
     {
         return(-100f);
     }
     return(BiomeWorker_IceSheet.PermaIceScore(tile));
 }
コード例 #2
0
 public override float GetScore(Tile tile, int tileID)
 {
     if (!tile.WaterCovered)
     {
         return(-100f);
     }
     if (!this.AllowedAt(tileID))
     {
         return(-100f);
     }
     return(BiomeWorker_IceSheet.PermaIceScore(tile) - 23f);
 }
コード例 #3
0
        public override float GetScore(Tile tile, int tileID)
        {
            float result;

            if (tile.WaterCovered)
            {
                result = -100f;
            }
            else
            {
                result = BiomeWorker_IceSheet.PermaIceScore(tile);
            }
            return(result);
        }