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

Method makeExplosion

MicropolisCore/src/MicropolisEngine/src/sprite.cpp:2015–2020  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2013 * @param y Y coordinate of the explosion (in map coordinates).
2014 */
2015void Micropolis::makeExplosion(int x, int y)
2016{
2017 if (testBounds(x, y)) {
2018 makeExplosionAt((x << 4) + 8, (y << 4) + 8);
2019 }
2020}
2021
2022
2023/**

Callers

nothing calls this directly

Calls 1

testBoundsFunction · 0.85

Tested by

no test coverage detected