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

Method makeExplosionAt

MicropolisCore/src/MicropolisEngine/src/sprite.cpp:2028–2031  ·  view source on GitHub ↗

* Construct an explosion sprite. * @param x X coordinate of the explosion (in pixels). * @param y Y coordinate of the explosion (in pixels). */

Source from the content-addressed store, hash-verified

2026 * @param y Y coordinate of the explosion (in pixels).
2027 */
2028void Micropolis::makeExplosionAt( int x, int y)
2029{
2030 newSprite("", SPRITE_EXPLOSION, x - 40, y - 16);
2031}
2032
2033
2034////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected