alecthomas / alecthomas/entityx
more efficient way of looping trough a bunch of classes?
Abierto
- Lenguaje dominante
- C++
- Estrellas
- 2.3k
- Forks
- 301
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.