Trait PrngAlgorithm
gameprng::prng_traits
pub trait PrngAlgorithm { fn next(&mut self) -> u64; fn random_factor(&mut self) -> f32 { ... } fn chance(&mut self, chance: f32) -> bool { ... } }
fn next(&mut self) -> u64
fn random_factor(&mut self) -> f32
fn chance(&mut self, chance: f32) -> bool
impl PrngAlgorithm for SplitMix64
impl PrngAlgorithm for XoRoShiRo128Plus
impl PrngAlgorithm for XorShift128Plus