>>106531137
i believe you make pools for each component, you then compose them sorta like
class Entity {
public:
CHealth *health = nullptr;
};
Entity MakeEntity() {
Entity Player;
Player.health = g_pool_of_health_components.Allocate();
Player.health = 10;
return Player;
}