Method GetRandom
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
GetRandom()
Gets a new random generator.
public static IRandom GetRandom()
Returns
- IRandom
A new random generator
GetRandom(int)
Gets a new random generator.
public static IRandom GetRandom(int seed)
Parameters
seed
intThe seed to instantiate the generator with.
Returns
- IRandom
A seeded instance of a random generator.