public static void StartInvestmentRound(GameContext gameContext, GameEntity company)
        {
            if (IsReadyToStartInvestmentRound(company))
            {
                SpawnProposals(gameContext, company);

                //NotifyAboutInvestmentRound(company, gameContext);

                company.ReplaceInvestmentRounds(GetInvestmentRoundName(company));

                company.AddAcceptsInvestments(C.INVESTMENT_ROUND_ACTIVE_FOR_DAYS);
            }
        }
示例#2
0
        public static void StartInvestmentRound(GameEntity company, GameContext gameContext)
        {
            if (company.hasAcceptsInvestments)
            {
                return;
            }

            SpawnProposals(gameContext, company.company.Id);

            NotifyAboutInvestmentRound(company, gameContext);

            var round = GetInvestmentRoundName(company);

            company.ReplaceInvestmentRounds(round);
            company.AddAcceptsInvestments(Balance.INVESTMENT_ROUND_ACTIVE_FOR_DAYS);
        }