// runs method to see if simple entity should be added public void AddSituationByConditionMethod( CharacterSituationSharedData situationSharedData, ConditionMethod conditionMethod) { situationsByMethod.Add(new SituationByMethod() { template = situationSharedData, method = conditionMethod }); }
// simple check using chance, with float values // from 0 up to and including 1.0 public void AddSituationByChance( CharacterSituationSharedData situationSharedData, float percentageChance) { situationsByChance.Add(new SituationByChance() { template = situationSharedData, chance = percentageChance }); }