JMS55 / bevy_dioxus

Apache License 2.0
56 stars 8 forks source link

change use query to use system state #19

Closed hymm closed 7 months ago

hymm commented 7 months ago

Tried using SystemState instead of Query::new like james suggested. Seems to work, but had to change query() to take an &mut self. Not sure if that would be a deal breaker. Needs to be &mut so that the cached archetypes can be updated.