| 744 | } |
| 745 | |
| 746 | void Units::forCitizens(std::function<void(df::unit *)> fn, bool exclude_residents, bool include_insane) { |
| 747 | for (auto unit : citizensRange(world->units.active, exclude_residents, include_insane)) |
| 748 | fn(unit); |
| 749 | } |
| 750 | |
| 751 | bool Units::getCitizens(vector<df::unit *> &citizens, bool exclude_residents, bool include_insane) { |
| 752 | for (auto unit : citizensRange(world->units.active, exclude_residents, include_insane)) |
nothing calls this directly
no test coverage detected