* Get a value from the fire 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 fireStationEffectMap.worldGet() instead). */
| 660 | * @todo Use world coordinates instead (use fireStationEffectMap.worldGet() instead). |
| 661 | */ |
| 662 | int Micropolis::getFireCoverage(int x, int y) |
| 663 | { |
| 664 | return fireStationEffectMap.get(x, y); |
| 665 | } |
| 666 | |
| 667 | |
| 668 | /** |