Class NormalRandom
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
public class NormalRandom : Random, IRandom
- Inheritance
-
NormalRandom
- Implements
- Inherited Members
- Extension Methods
Constructors
NormalRandom()
public NormalRandom()
NormalRandom(int)
public NormalRandom(int Seed)
Parameters
Seed
int
Methods
NextFloat()
public float NextFloat()
Returns
NextInt()
public int NextInt()
Returns
NextInt(int)
Returns 0..max-1
public int NextInt(int max)
Parameters
max
int