Wrapper for a randomizer. Currently using the System randomizer. But you can easily replace this by unity's or roll your own. More...
Public Member Functions | |
MFRandomizer () | |
Initializes a new instance of the MFRandomizer class. | |
MFRandomizer (int?seed) | |
Initializes a new instance of the MFRandomizer class. | |
int | Next (int maxValue) |
Get a pseudo random value between 0 and maxValue. |
Wrapper for a randomizer. Currently using the System randomizer. But you can easily replace this by unity's or roll your own.
MFRandomizer | ( | ) |
Initializes a new instance of the MFRandomizer class.
MFRandomizer | ( | int? | seed | ) |
Initializes a new instance of the MFRandomizer class.
seed | Seed. |
int Next | ( | int | maxValue | ) |
Get a pseudo random value between 0 and maxValue.
maxValue | Max value. |