public void Dispose() { Rng.Deterministic(); semaphore.Release(); }
public static T Decide <T>(T A, T B, float chanceA = 0.5f) { return(Rng.B(chanceA) ? A : B); }
private LockedUnboundRng(int seed) { semaphore.Wait(); Rng.Unbound(seed); }