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

Method setRateOfGrowth

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:476–479  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

474 * @todo Use world coordinates instead (use rateOfGrowthMap.worldSet() instead).
475 */
476void Micropolis::setRateOfGrowth(int x, int y, int rate)
477{
478 rateOfGrowthMap.set(x, y, rate);
479}
480
481
482/**

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected