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

Method setMapValue

MicropolisCore/src/MicropolisEngine/src/tool.h:206–209  ·  view source on GitHub ↗

* Set a new map value. * @param pos Position to set. * @param x Horizontal coordinate of position to set. * @param y Vertical coordinate of position to set. * @param mapVal Value to set. */

Source from the content-addressed store, hash-verified

204 * @param mapVal Value to set.
205 */
206inline void ToolEffects::setMapValue(int x, int y, MapValue mapVal)
207{
208 this->setMapValue(Position(x, y), mapVal);
209}
210
211/**
212 * Add a #FrontendMessage to the queue to send.

Callers 7

smoothTreesAtMethod · 0.60
connectTileMethod · 0.60
layDozeMethod · 0.60
layRoadMethod · 0.60
layRailMethod · 0.60
layWireMethod · 0.60
fixSingleMethod · 0.60

Calls 1

PositionClass · 0.70

Tested by

no test coverage detected