Entity component system -> handling components that depend on one another
- by jtedit
I really like the idea of an entity component system and feel it has great flexibility, but have a question. How should dependent components be handled?
I'm not talking about how components should communicate with other components they depend on, I have that sorted, but rather how to ensure components are present.
For example, an entity cannot…