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

[EntityFactory] Support for optional components. #228

Closed
DaanVanYperen opened this issue Jan 24, 2015 · 3 comments
Closed

[EntityFactory] Support for optional components. #228

DaanVanYperen opened this issue Jan 24, 2015 · 3 comments

Comments

@DaanVanYperen
Copy link
Collaborator

@junkdog: "Yo, nope, no optional components. It would require N^2 archetypes, which was the original reason it wasn't supported. However, with entity transmuters now implemented - this might be feasible; simply have one transmuter per optional component. Probably post-1.0 work though."

@Namek
Copy link
Contributor

Namek commented Jul 29, 2015

A usecase, please?

@junkdog
Copy link
Owner

junkdog commented Jul 29, 2015

Hmm, I have a couple in the current project... some are as simple as having/not having a Touchable component, but the EntityFactory is otherwise identical.

@DaanVanYperen DaanVanYperen mentioned this issue Jul 31, 2015
16 tasks
@DaanVanYperen
Copy link
Collaborator Author

Grooming issue. out of scope or in need of sponsor. Revisit later.

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