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

Method setLandValue

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:636–639  ·  view source on GitHub ↗

* Set a value in the land value map. * @param x X coordinate of the position to get, 0 to WORLD_W_2. * @param y Y coordinate of the position to get, 0 to WORLD_H_2. * @param value the value to set. * @note Off-map positions are ignored. * @todo Use world coordinates instead (use landValueMap.worldSet() instead). */

Source from the content-addressed store, hash-verified

634 * @todo Use world coordinates instead (use landValueMap.worldSet() instead).
635 */
636void Micropolis::setLandValue(int x, int y, int value)
637{
638 landValueMap.set(x, y, value);
639}
640
641
642/**

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected