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

Method smoothTreesAt

MicropolisCore/src/MicropolisEngine/src/generate.cpp:419–425  ·  view source on GitHub ↗

Temporary function to prevent breaking a lot of code. */

Source from the content-addressed store, hash-verified

417
418/** Temporary function to prevent breaking a lot of code. */
419void Micropolis::smoothTreesAt(int x, int y, bool preserve)
420{
421 ToolEffects effects(this);
422
423 smoothTreesAt(x, y, preserve, &effects);
424 effects.modifyWorld();
425}
426
427
428/**

Callers

nothing calls this directly

Calls 4

testBoundsFunction · 0.85
modifyWorldMethod · 0.80
getMapValueMethod · 0.60
setMapValueMethod · 0.60

Tested by

no test coverage detected