Exemple #1
0
        public static string GetFormattedInvestorType(InvestorType investorType)
        {
            switch (investorType)
            {
            case InvestorType.Angel:
                return("Angel investor");

            case InvestorType.FFF:
                return("Family, friends & fools");

            case InvestorType.Founder:
                return("Founder");

            case InvestorType.StockExchange:
                return("Stock Exchange");

            case InvestorType.Strategic:
                return("Strategic investor");

            case InvestorType.VentureInvestor:
                return("Venture investor");

            default:
                return(investorType.ToString());
            }
        }
Exemple #2
0
        public static string GetSellRejectionDescriptionByInvestorType(InvestorType investorType, GameEntity company)
        {
            if (IsYoungCompany(company))
            {
                return("It's too early to sell company");
            }

            switch (investorType)
            {
            case InvestorType.Angel:
            case InvestorType.FFF:
            case InvestorType.VentureInvestor:
                return("Company goals are not completed");

            case InvestorType.Founder:
                return("Founder ambitions not fulfilled");

            case InvestorType.Strategic:
                return("Views this company as strategic");

            default:
                return(investorType.ToString() + " will not sell shares");
            }
        }
Exemple #3
0
        public static long GetDesireToSellStartupByInvestorType(GameEntity startup, InvestorType investorType, int shareholderId, GameContext gameContext)
        {
            switch (investorType)
            {
            case InvestorType.Angel:
            case InvestorType.FFF:
            case InvestorType.VentureInvestor:
                return(OnGoalCompletion(startup, investorType));

            case InvestorType.StockExchange:
                return(GetStockExhangeTradeDesire(startup, shareholderId));

            case InvestorType.Founder:
                return(GetFounderExitDesire(startup, shareholderId, gameContext));

            case InvestorType.Strategic:
                return(GetStrategicInvestorExitDesire(startup, shareholderId, gameContext));

            default:
                Debug.Log("GetDesireToSellStartupByInvestorType. Unknown investor type " + investorType.ToString());
                return(Balance.COMPANY_DESIRE_TO_SELL_NO);
            }
        }