top of page


ENTITY-COMPONENT ARCHITECTURE
OVERVIEW:
Echodream's architecture has a lot of similarities to ECS architecture, but it is not true ECS for two reasons:
​
-
​Entities are behaviors (not just ID numbers)
-
Components are behaviors (not PODs)
​
What it does share with the ECS design pattern:
-
Entities are updated by systems which act on all the entities with the requisite component type(s)
-
Entities are accessed through their ID numbers instead of pointers (entities do not have stable memory addresses, so only temporary pointers/references can be used)
bottom of page