* Get a value from 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. * @return Value of the land value map at the given position. * @note Off-map positions are considered to contain 0. * @todo Use world coordinates instead (use landValueMap.worldGet() instead). */
| 620 | * @todo Use world coordinates instead (use landValueMap.worldGet() instead). |
| 621 | */ |
| 622 | int Micropolis::getLandValue(int x, int y) |
| 623 | { |
| 624 | return landValueMap.get(x, y); |
| 625 | } |
| 626 | |
| 627 | |
| 628 | /** |