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

Question: Exporting from library? #665

Open
cheako opened this issue Dec 20, 2019 · 1 comment
Open

Question: Exporting from library? #665

cheako opened this issue Dec 20, 2019 · 1 comment
Labels

Comments

@cheako
Copy link

cheako commented Dec 20, 2019

https://youtu.be/Q86V5DnSPPs?t=539
https://gitlab.com/cheako/hazel-rs/blob/1c04d1446a5a1c3628f4fba577ec276313cb93ea/src/renderer/r2d.rs#L432-593

I'd like to create some components and then have a function that takes an entity and figures out what components it has and call the appropriate function. I'd also like to write systems, but that's not the main focus.

Edit: Missing a selection for questions.

@cheako cheako added the bug label Dec 20, 2019
@cheako
Copy link
Author

cheako commented Feb 23, 2020

This is my solution in the meantime, just an enum and Vec.
https://gitlab.com/cheako/hazel-rs/-/blob/a4537ebdbd40fa9421975e9d7ac7c27d0f28f3a9/src/renderer/r2d.rs#L71

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

No branches or pull requests

1 participant