Esempio n. 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);
        }
Esempio n. 2
0
 public CollectionOfIncidentTemplates ChooseRandomCollection(Random rng)
 {
     return(AObjectWithProbability.PickOne(AllCollections, rng));
 }