alecthomas / alecthomas/entityx
more efficient way of looping trough a bunch of classes?
未关闭
- 主要语言
- C++
- 星标
- 2.3k
- 派生
- 301
- PR 合并指标
- 30 天内没有已合并 PR
描述
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?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。