Exemplo n.º 1
0
        public virtual string Talk()
        {
            try
            {
                TalkGeneratorArgs args = new TalkGeneratorArgs {
                    Agi = Agi
                };
                return(TalkGenerator.Generation(args));
            }
            catch (Exception)
            {
                if (!isIgnoreError)
                {
                    throw;
                }

                return(Content.OVER.Text);
            }
        }
Exemplo n.º 2
0
        public override string Talk()
        {
            try
            {
                TalkGeneratorArgs args = new TalkGeneratorArgs {
                    Agi = Agi, GuessResult = LatestGuess, ActionPlan = LatestPlan
                };
                args.Items.Add("FakeSeerJudge", fakeSeerJudge);
                args.Items.Add("AgentStatistics", statistics);

                return(TalkGenerator.Generation(args));
            }
            catch (Exception)
            {
                if (!isIgnoreError)
                {
                    throw;
                }

                return(Content.OVER.Text);
            }
        }