Module plugin

Source
Expand description

Plugin for integrating rand_core::RngCore PRNGs into bevy. Must be newtyped to support bevy_reflect::Reflect.

Structsยง

EntropyPlugin
Plugin for integrating a PRNG that implements RngCore into the bevy engine, registering types for a global resource and entropy components.
EntropyRelationsPlugin
Plugin for setting up relations/observers for handling related Rngs. It takes two generic parameters, the first is the Source Rng, which is the algorithm for the source Rng entity, and then the second is the Target Rng, which is the algorithm for the targets. It follows a One to One/Many relationship model, going from Source to Target, where Source can have one or many Targets.