public override float GetScore(Tile tile) { if (tile.WaterCovered) { return(-100f); } return(BiomeWorker_IceSheet.PermaIceScore(tile)); }
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); }
public override float GetScore(Tile tile, int tileID) { float result; if (tile.WaterCovered) { result = -100f; } else { result = BiomeWorker_IceSheet.PermaIceScore(tile); } return(result); }