Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple trackers for a single component type #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Azkellas
Copy link

This PR introduces a flag type in ChangeTracker (from ChangeTracker<Component> to ChangeTracker<Component, Flag>) to allow multiple trackers for a single component type.

I wanted to track a component type from different areas of my project, so I added this change. This is obviously a breaking change.

On a related note, it would be interesting to track removed components from deleted entites, though that's a difficult task to tackle.

Thanks for this great crate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant