Exemplo n.º 1
0
        public static bool IsProductWantsToGrow(GameEntity product, GameContext gameContext)
        {
            if (!product.isIndependentCompany)
            {
                return(false);
            }

            var ambitions = Humans.GetAmbition(gameContext, product.cEO.HumanId);

            return(ambitions == Ambition.RuleCorporation);
        }
Exemplo n.º 2
0
    public override string RenderValue()
    {
        var ambition = Humans.GetAmbition(Q, SelectedHuman.human.Id);

        switch (ambition)
        {
        case Ambition.EarnMoney:
            return("Wants to make money");

        //case Ambition.RuleProductCompany:
        //    return "Make innovative products";

        case Ambition.RuleCorporation:
            return("Wants to rule the corporation");

        default:
            return(ambition.ToString());
        }
    }