Currently Components that store collections of things must expose the base collection awkwardly. It would be nice if there could be
removeFoo() methods that operate on the collection in place of the limited getters and setters for properties. Could similarly have
getAllFoos(), and maybe even
These methods would have well-defined semantics based on the selected backing collection type (either set, list, or map). Map would require a different set of collection methods (
getFoo that take the key object).
Additionally, it would be nice if there could be optimized property stores for collections that flatten them out into the array for limited collection sizes, or in the event that its a collection of components or entities, is somehow able to refer to their id instead of the instance.