Esempio n. 1
0
    public float GetPrice(Good good)
    {
        float supplyMultiplier = GetSupplyMultipler(goodsToSupply[good.type]);
        float heatMultiplier   = good.GetHeatMultiplier();

        return((supplyMultiplier + heatMultiplier) * good.GetBasePrice());
    }