AlexAegis / AlexAegis/rx_bevy

Tracking: Randomness

Aperta
#23 0 commenti 0 reazioni 1 assegnatario Rivendicata da @AlexAegis Vedi su GitHub
enhancement
Lingua principale
Rust
Stelle
25
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Incorporating randomness into observables and operators.

- Randomness should always be seeded, to be either fed by an actual randomizer, or to set it to a specific seed
- When introducing randomness to an existing concept, such as the IntervalObservable, the existing implementation should be turned into a generic one, which defines how a value is provided for a specific aspect of the observables behavior, like delay offset. This valueprovider will then be swappable and some actual user facing operators will define it as a RandomValueSource(seed?, from, to) and some as ScalarValueSource(0) maybe even Eased(EasingFn, mapIn, mapOut)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.