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

Method setMapValue

MicropolisCore/src/MicropolisEngine/src/tool.cpp:178–181  ·  view source on GitHub ↗

* Set a new map value. * @param pos Position to set. * @param mapVal Value to set. */

Source from the content-addressed store, hash-verified

176 * @param mapVal Value to set.
177 */
178void ToolEffects::setMapValue(const Position &pos, MapValue mapVal)
179{
180 this->modifications[pos] = mapVal;
181}
182
183////////////////////////////////////////////////////////////////////////
184// BuildingProperties

Callers 8

putDownParkMethod · 0.60
putDownNetworkMethod · 0.60
putDownWaterMethod · 0.60
putDownLandMethod · 0.60
putDownForestMethod · 0.60
putBuildingMethod · 0.60
prepareBuildingSiteMethod · 0.60
putRubbleMethod · 0.60

Calls

no outgoing calls

Tested by

no test coverage detected