* Get a value from 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. * @return Value of the rate of growth map at the given position. * @note Off-map positions are considered to contain 0. * @todo Use world coordinates instead (use rateOfGrowthMap.worldGet() instead). */
| 460 | * @todo Use world coordinates instead (use rateOfGrowthMap.worldGet() instead). |
| 461 | */ |
| 462 | int Micropolis::getRateOfGrowth(int x, int y) |
| 463 | { |
| 464 | return rateOfGrowthMap.get(x, y); |
| 465 | } |
| 466 | |
| 467 | |
| 468 | /** |