Example #1
0
        /// <summary>
        ///     Asks the player to make a decision on a request made by one of the groups. The player
        ///     can either accept or refuse the request.
        /// </summary>
        /// <param name="audience">The audience that the player will be asked to make a decision on.</param>
        private void AskForAudienceDecision(Core.Audience audience)
        {
            DialogResult dialogResult = userInterface.DisplayAudienceDecisionDialog(audience);

            if (dialogResult == DialogResult.Yes)
            {
                engine.AcceptAudienceRequest(audience);
            }
            else
            {
                engine.RefuseAudienceRequest(audience);
            }
        }