Skip to main content

OptionSetChance

A class in Root.Township, Alta.PAGaC.

An OptionSet with a chance to run, used in an OptionSet's list of sub-sets.

Constructors​

MemberWhat it is
OptionSetChance()Creates an OptionSetChance with default values.

Fields​

2 private and internal fields
MemberWhat it is
private OptionSet optionSetBacking field for OptionSet.
private float weightBacking field for Weight.

Properties​

MemberWhat it is
OptionSet OptionSet { get; }The option set to evaluate.
float Weight { get; }Chance from 0 to 1 that the set is evaluated (default 1).

Used in​

Members of other types that take, return or hold a OptionSetChance: