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 access to all the entities of an engine #120

Closed
Nauktis opened this issue Dec 29, 2014 · 1 comment
Closed

Allow access to all the entities of an engine #120

Nauktis opened this issue Dec 29, 2014 · 1 comment

Comments

@Nauktis
Copy link
Contributor

Nauktis commented Dec 29, 2014

The Engine does not have a getter for the list of all entities.
This is really painful when trying to implement a saving/loading mechanism.

@piotr-j
Copy link

piotr-j commented Dec 30, 2014

You can get all entities like that:

engine.getEntitiesFor(Family.all().get())

Getter for that could simplify this somewhat.

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

No branches or pull requests

3 participants