MCPcopy Create free account
hub / github.com/SimHacker/micropolis / destroyAllSprites

Method destroyAllSprites

MicropolisCore/src/MicropolisEngine/src/sprite.cpp:288–295  ·  view source on GitHub ↗

* Destroy all sprites by de-activating them all (setting their * SimSprite::frame to 0). */

Source from the content-addressed store, hash-verified

286 * SimSprite::frame to 0).
287 */
288void 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/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected