specs icon indicating copy to clipboard operation
specs copied to clipboard

Question: Exporting from library?

Open cheako opened this issue 5 years ago • 1 comments

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 avatar Dec 20 '19 19:12 cheako

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

cheako avatar Feb 23 '20 16:02 cheako