* Destroy all sprites by de-activating them all (setting their * SimSprite::frame to 0). */
| 286 | * SimSprite::frame to 0). |
| 287 | */ |
| 288 | void Micropolis::destroyAllSprites() |
| 289 | { |
| 290 | SimSprite *sprite; |
| 291 | |
| 292 | for (sprite = spriteList; sprite != NULL; sprite = sprite->next) { |
| 293 | sprite->frame = 0; |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | |
| 298 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected