mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 13:13:49 +00:00
94d941661d
# Objective - The code in `events.rs` was a bit messy. There was lots of duplication between `EventReader` and `ManualEventReader`, and the state management code is not needed. ## Solution - Clean it up. ## Future work Should we remove the type parameter from `ManualEventReader`? It doesn't have any meaning outside of its source `Events`. But there's no real reason why it needs to have a type parameter - it's just plain data. I didn't remove it yet to keep the type safety in some of the users of it (primarily related to `&mut World` usage) |
||
---|---|---|
.. | ||
benches | ||
Cargo.toml |