* Set a value in the police coverage 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 coverage the value to set. * @note Off-map positions are ignored. * @todo Use world coordinates instead (use policeStationEffectMap.worldSet() instead). */
| 713 | * @todo Use world coordinates instead (use policeStationEffectMap.worldSet() instead). |
| 714 | */ |
| 715 | void Micropolis::setPoliceCoverage(int x, int y, int coverage) |
| 716 | { |
| 717 | policeStationEffectMap.set(x, y, coverage); |
| 718 | } |
| 719 | |
| 720 | |
| 721 | /** |