alecthomas / alecthomas/entityx
more efficient way of looping trough a bunch of classes?
Đang mở
- Ngôn ngữ chính
- C++
- Star
- 2.3k
- Fork
- 301
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.