Skip to content
Discussion options

You must be logged in to vote

Is collision_event_handle_damage_dealing_and_health_for_all a system? If so, I’d recommend using a Query instead of World so that you can use something like Query::get_many_mut to fetch both entities without breaking Rust's mutability rules.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Retrodad0001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants