A class in Root.Township, the global namespace.
Object pipeline step that picks one random entry from a distribution input.
Constructors
Properties
| Member | What it is |
|---|
override string Description { get; } | Editor description of the step. |
override string Name { get; } | Editor name, "Distribution". |
Methods
| Member | What it is |
|---|
override IEnumerable<Object> PossibleResults(Object input) (iterator) | Lists every entry in the input distribution. |
override Object Process(Object input, Func<double> random, SpawnData spawnData) | Returns a random entry from the input distribution using the spawn attributes, or null if the input isn't one. |