Returns true with the given probability (0-1).
Current PRNG state, as a 32-bit integer. Captured into snapshots
and restored via fromState for deterministic resume.
Returns an integer in [min, max] inclusive.
Returns a float in [0, 1).
Derives a child RNG for a specific turn (deterministic sub-stream).
StaticfromConstruct a SeededRng positioned at a specific internal state. Different from the seed-based constructor: the returned RNG produces the same sequence as the source did AT THE MOMENT getState() was captured.
Mulberry32: fast 32-bit seeded PRNG. Deterministic: same seed always produces same sequence.