You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (Entry<Entity> entry : lstWithCompB)
entry.value.remove(CompB.class);
I have lstWithCompB with 0 entity => Its OK because no entity has the Component B anymore.
But I expected to have : lstWithCompAOnly with 10 entities because all my entities have the component A without the component B. => I have still 5 entities :(
Why it do that ?
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
To expain my issue I'll give you an example :
With this code I have 5 entities with the component A et 5 entities with the components A and B.
To see my entities I use :
And the sizes are 5 and 5 => it is OK.
Now I do that :
I have lstWithCompB with 0 entity => Its OK because no entity has the Component B anymore.
But I expected to have : lstWithCompAOnly with 10 entities because all my entities have the component A without the component B. => I have still 5 entities :(
Why it do that ?
Thank you
The text was updated successfully, but these errors were encountered: