Closed Scipi closed 9 years ago
You can do world.query() for now, but I will add this soon.
The readme was updated to use world.query(). Ideally this would work with begin()/end(), but the way the entities are internally stored makes this tricky. It would only be worth adding if there was a performance benefit. A new issue has been added for the performance aspect of this: #7
es::World requires begin()/end() functions in order to work properly with ranged-based for loops. Currently, code such as this one taken from the system examples gives an error in VS2015: