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
my game uses a lot of classes, and every time I add a new class type I have to add for (Entity entity : ex.entities.entities_with_components(ClassName)) to be able to update and draw it, this is crowding up my update function, is there a more efficient way of doing this?
The text was updated successfully, but these errors were encountered:
You would typically have multiple systems, each doing distinct jobs, so it's a bit surprising that you have a single update function. The included example illustrates this approach, and it's how EntityX is designed to work.
my game uses a lot of classes, and every time I add a new class type I have to add
for (Entity entity : ex.entities.entities_with_components(ClassName))
to be able to update and draw it, this is crowding up my update function, is there a more efficient way of doing this?The text was updated successfully, but these errors were encountered: