PartChance
A class in Root.Township, Alta.PAGaC.
A PAGaC part with a 0 to 1 chance of being picked, used in RuleOptionSet and option set lists.
- Listed in World generation
Constructors
| Member | What it is |
|---|---|
PartChance() | Creates a PartChance with default values. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
Part Part { get; } | The part that may be added. |
float Weight { get; } | Chance from 0 to 1 that the part is added (default 1). |
Used in
Members of other types that take, return or hold a PartChance: