Esempio n. 1
0
        public static long GetFounderExitDesire(GameEntity startup, int shareholderId, GameContext gameContext)
        {
            var founder = Investments.GetInvestor(gameContext, shareholderId);

            var ambition = Humans.GetFounderAmbition(founder.humanSkills.Traits, Humans.GetRating(founder));

            if (ambition == Ambition.EarnMoney)
            {
                return(C.COMPANY_DESIRE_TO_SELL_YES);
            }

            return(C.COMPANY_DESIRE_TO_SELL_NO);
        }
Esempio n. 2
0
        public static long GetFounderExitDesire(GameEntity startup, int shareholderId, GameContext gameContext)
        {
            var founder = Investments.GetInvestorById(gameContext, shareholderId);

            var ambitions = founder.humanSkills.Traits[TraitType.Ambitions];

            var ambition = Humans.GetFounderAmbition(ambitions);

            if (ambition == Ambition.EarnMoney)
            {
                return(Balance.COMPANY_DESIRE_TO_SELL_YES);
            }

            return(Balance.COMPANY_DESIRE_TO_SELL_NO);
        }
Esempio n. 3
0
        public static Ambition GetFounderAmbition(GameEntity company, GameContext gameContext)
        {
            var CEOId = company.cEO.HumanId;

            return(Humans.GetFounderAmbition(gameContext, CEOId));
        }