* Get a value from 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. * @return Value of the fir coverage map at the given position. * @note Off-map positions are considered to contain 0. * @todo Use world coordinates instead (use policeStationEffectMap.worldGet() instead). */
| 699 | * @todo Use world coordinates instead (use policeStationEffectMap.worldGet() instead). |
| 700 | */ |
| 701 | int Micropolis::getPoliceCoverage(int x, int y) |
| 702 | { |
| 703 | return policeStationEffectMap.get(x, y); |
| 704 | } |
| 705 | |
| 706 | |
| 707 | /** |