I'm working in a group project on a small 2D minecraft-like game, applying the Entity Component System design pattern. We're required to use the EnTT framework.
We'd like to make it easier to manage blocks by tagging blocks as "belonging" to the chunk they're in, so that we could just do something like
registry.view<Block, ChunkID>();
to grab all the blocks in a given chunk from the registry enmasse.
Is there a way to dynamically create new components in EnTT? Or to tag a set of entities as being part of a larger group, then retrieve all the entities in that group?
Also, is there a way we could manage EnTT IDs manually in a specific registry?
Thanks!