Method GetRandomizer
GetRandomizer(int)
Returns the randomizer present at the given index
Declaration
public Randomizer GetRandomizer(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The lookup index |
Returns
| Type | Description |
|---|---|
| Randomizer | The randomizer present at the given index |
GetRandomizer<T>()
Finds and returns a randomizer attached to this scenario of the specified Randomizer type
Declaration
public T GetRandomizer<T>() where T : Randomizer
Returns
| Type | Description |
|---|---|
| T | A randomizer of the specified type |
Type Parameters
| Name | Description |
|---|---|
| T | The type of randomizer to find |
Exceptions
| Type | Condition |
|---|---|
| ScenarioException |