 | GeneratorChooseUniformRandomTSource Method (IListIGeneratorTSource) |
Makes a generator that selects a random generator from a given element to generate an element from.
Namespace:
Gamelogic.Extensions.Algorithms
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic static IGenerator<TSource> ChooseUniformRandom<TSource>(
IList<IGenerator<TSource>> list
)
Parameters
- list
- Type: System.Collections.GenericIListIGeneratorTSource
The list of generators to choose from.
Type Parameters
- TSource
- The type of elements to generate.
Return Value
Type:
IGeneratorTSourceA new generator.
Exceptions
See Also