// runs method to see if simple entity should be added public void AddForecastByConditionMethod( CollectiveForecastSharedData forecastTemplate, ConditionMethod conditionMethod) { forecastsByMethod.Add(new ForecastByMethod() { template = forecastTemplate, method = conditionMethod }); }
// simple check using chance, with float values // from 0 up to and including 1.0 public void AddForecastByChance( CollectiveForecastSharedData forecastTemplate, float percentageChance) { forecastsByChance.Add(new ForecastByChance() { template = forecastTemplate, chance = percentageChance }); }