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

Convenience for Querying for Single Entities #289

Closed
zicklag opened this issue Dec 30, 2023 · 0 comments · Fixed by #386
Closed

Convenience for Querying for Single Entities #289

zicklag opened this issue Dec 30, 2023 · 0 comments · Fixed by #386

Comments

@zicklag
Copy link
Member

zicklag commented Dec 30, 2023

From @lenscas on Discord:

well, a .first() would be nice, so I don't have to do the .iter((query)).next() but instead can just do .first(query)
Also, a way to make sure that there is only one entity with a given component at any time would be nice

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 a pull request may close this issue.

1 participant