Component
A component is a typed piece of data attached to an entity.
Instead of fixed inheritance trees, entities are composed from the components they carry. This composition-first approach gives you:
- flexibility to model heterogeneous populations,
- clearer separation between identity (entity) and state (components),
- and easier evolution of schemas over time.
At runtime, systems read and write component data to compute the next world state.