Closed langurmonkey closed 2 years ago
Hi Langur, the short answer is yes.
The long answer is yes, but you will still unpack max 6 components, as I plan to add the new method on the Results
and it will accept more components type without any limit.
In this way, you will be able to refine your entity search with any number of component types but you will still get unpacked max 6 components.
Why?
The updated Results
API maybe:
(new) -> andWith
excludeWith
-> andWithout
withState
-> andWithState
Awesome, cheers!
Right now, the
Dominion.findEntitiesWith()
method accepts up to 6 component types. The returnedResults
object maps the types for each component by position and allows for their retrieval. Is there a mechanism in place to enable finding and working with entities with more than 6 components? Is this something that will come at a later stage?