You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
There are some systems that are good candidates for introducing a separate SystemData struct for them: such systems require a lot of resources and pass them around their helper functions (making those functions' argument list really huge).
Note that you shouldn't refactor all the systems in one pull request. As it's a "good first issue", just look through the systems and pick the one which you think will be feasible for you to tackle. But nothing stops you to make more than one PR, of course. :)
The text was updated successfully, but these errors were encountered:
There are some systems that are good candidates for introducing a separate
SystemData
struct for them: such systems require a lot of resources and pass them around their helper functions (making those functions' argument list really huge).Some examples of bad systems:
bins/client/src/ecs/systems/input.rsbins/client/src/ecs/systems/client_network.rs
Some examples of good systems:
libs/game/src/ecs/systems/monster/spawner.rs
Note that you shouldn't refactor all the systems in one pull request. As it's a "good first issue", just look through the systems and pick the one which you think will be feasible for you to tackle. But nothing stops you to make more than one PR, of course. :)
The text was updated successfully, but these errors were encountered: