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