3 ms·
Even with this type of design, it's possible to implement in a typesafe way. I have seen clever ECS systems accomplish this
by skohan 6y ago
Even with this type of design, it's possible to implement in a typesafe way. I have seen clever ECS systems accomplish this
- adamnemecek 6y agoMaybe but ECS does in some sense circumvent types.
- hansvm 6y agoIn some sense. You could build a type system around "has a <foo>" relationships instead of "is a <foo>" and get something pretty cohesive out that closely aligns with ECS.