* Checks all units for if they need to be redrawn. */
| 1368 | * Checks all units for if they need to be redrawn. |
| 1369 | */ |
| 1370 | void Map::cacheUnits() |
| 1371 | { |
| 1372 | for (std::vector<BattleUnit*>::iterator i = _save->getUnits()->begin(); i != _save->getUnits()->end(); ++i) |
| 1373 | { |
| 1374 | cacheUnit(*i); |
| 1375 | } |
| 1376 | } |
| 1377 | |
| 1378 | /** |
| 1379 | * Check if a certain unit needs to be redrawn. |
no test coverage detected