MCPcopy Create free account
hub / github.com/SimHacker/micropolis / setPoliceCoverage

Method setPoliceCoverage

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:715–718  ·  view source on GitHub ↗

* 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). */

Source from the content-addressed store, hash-verified

713 * @todo Use world coordinates instead (use policeStationEffectMap.worldSet() instead).
714 */
715void Micropolis::setPoliceCoverage(int x, int y, int coverage)
716{
717 policeStationEffectMap.set(x, y, coverage);
718}
719
720
721/**

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected