示例#1
0
        public void RollDiceAndExecuteOneOutcome(SocietySnapshot currentCast, Random rng)
        {
            InitializeTextSummary();

            var chosen = AObjectWithProbability.PickOne(AllPossibleOutcomes, rng);

            this.outcomeTextSummary.AddRange(chosen.Execute());
            this.textSummary.AddRange(outcomeTextSummary);
        }
示例#2
0
 public CollectionOfIncidentTemplates ChooseRandomCollection(Random rng)
 {
     return(AObjectWithProbability.PickOne(AllCollections, rng));
 }