alecthomas / alecthomas/entityx

more efficient way of looping trough a bunch of classes?

Đang mở
#237 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.