3 ms·
I guess you want to know that every MyEntity can be drawn and can move so you don't have to try-get the component. The disconnect I think is that part of the E
by jayd16 6y ago
I guess you want to know that every MyEntity can be drawn and can move so you don't have to try-get the component.
The disconnect I think is that part of the ECS design is that you have the freedom to break that guarantee. Entities are no longer types but collections of components. The soft coupling is the goal.
- alkonaut 6y agoYes exactly, I think it’s an elegant system for some contexts but I wouldn’t want every system to be forced to use it, so I wouldn’t want that ECS design to be a fundamental part of the language. Soft coupling is basically just giving up typing at some interface and relying on soft information. Which can be fine, but not always.