Anyone have any ideas for the following:
I want to present a list of building types the player can construct in the various menus in my game (colony sim).
So I need basically "metadata" on various entity types the player can construct.
My original hope was to have this metadata baked into the entity definitions themselves, for example using the Name component, and perhaps using a Buildable component with the building costs etc, that I could then present in the menu.
But this seems a bit heavy, as I would have to construct the entity to get the data out of it, meaning having to create all the entities just to get the names and building costs to show in a menu.
What would be a good way to store this data basically? Some kind of data structure that would enable me to create entities when needed, but also have metadata available to me about them easily?
(my original thought was sort of "prototype" entities that I would create one for each type - this KIND of worked but ended up being tricky because Bevy as of currently doesn't have entity cloning, so I couldn't use the prototypes easily for creating the concrete types later - note this IS possible but with my skillset I had a hard time with this approach, and couldn't find anyone else talking about doing the same, so I'm sure there is a better way)
