Objective
I just thought about that but getAllEntititesWith method is highly inneficient. For now we are retrieving every living entites and comparing its signature to the one generated based on the components queried.
But all we have to do is to get the smallest component array of the components queried, and check only those entities !
Acceptance Criteria
Dependencies
No response
Technical Details
No response
Type
Engine
Objective
I just thought about that but
getAllEntititesWithmethod is highly inneficient. For now we are retrieving every living entites and comparing its signature to the one generated based on the components queried.But all we have to do is to get the smallest component array of the components queried, and check only those entities !
Acceptance Criteria
Dependencies
No response
Technical Details
No response
Type
Engine