alecthomas / alecthomas/entityx
more efficient way of looping trough a bunch of classes?
Open
- Dominant language
- C++
- Stars
- 2.3k
- Forks
- 301
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.