Ejemplo n.º 1
0
    void RenderBaseCosts(GameEntity c)
    {
        BaseCost.text    = "???!!!"; // RenderCosts(Economy.GetCompanyBaseCost(c, Q));
        CapitalSize.text = RenderCosts(Economy.BalanceOf(c));

        if (c.hasProduct)
        {
            ShowProductCompanyLabels(true);
            ShowGroupLabels(false);

            AudienceCost.text         = RenderCosts(Economy.GetClientBaseCost(c));
            IncomeBasedCost.text      = "???!!!"; // RenderCosts(Economy.GetCompanyIncomeBasedCost(c, Q));
            IncomeBasedCostLabel.text = $"Income X{Economy.GetCompanyCostNicheMultiplier()}";
        }
        else
        {
            ShowProductCompanyLabels(false);
            ShowGroupLabels(true);

            HoldingCost.text = RenderCosts(Economy.GetGroupCost(c, Q));
        }
    }