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

Method bulldozerTool

MicropolisCore/src/MicropolisEngine/src/tool.cpp:962–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960}
961
962ToolResult Micropolis::bulldozerTool(short x, short y)
963{
964 ToolEffects effects(this);
965
966 ToolResult result = bulldozerTool(x, y, &effects);
967
968 if (result == TOOLRESULT_OK) {
969 effects.modifyWorld();
970 }
971
972 return result;
973}
974
975/**
976 * Apply bulldozer tool.

Callers

nothing calls this directly

Calls 8

testBoundsFunction · 0.85
checkSizeFunction · 0.85
modifyWorldMethod · 0.80
addCostMethod · 0.80
addFrontendMessageMethod · 0.80
getMapTileMethod · 0.80
checkBigZoneFunction · 0.70
getMapValueMethod · 0.60

Tested by

no test coverage detected