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

Add sorted entities container #113

Closed
Doraku opened this issue Jun 11, 2021 · 0 comments
Closed

Add sorted entities container #113

Doraku opened this issue Jun 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Doraku
Copy link
Owner

Doraku commented Jun 11, 2021

Some case require entities to be sorted in a specific order. Currently there is nothing in DefaultEcs to help with this and you would have to create your own collection which may be unaware of component rules changes. It would be good to give such a container built-in.

  • Sorted by a component
  • component may implement IComparable
  • user may give comstom Comparison
  • user may give IComparer
@Doraku Doraku added the enhancement New feature or request label Jun 11, 2021
@Doraku Doraku closed this as completed in 616160e Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant