loop over all entities and all their updater function (if it exists)
| 36 | |
| 37 | // loop over all entities and all their updater function (if it exists) |
| 38 | void update_entities() |
| 39 | { |
| 40 | for (auto &entity : entities) |
| 41 | { |
| 42 | if (entity.second.updater) { |
| 43 | entity.second.updater(entity.second); |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | |
| 49 | private: |
nothing calls this directly
no outgoing calls
no test coverage detected