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

Method getFireCoverage

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:662–665  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

660 * @todo Use world coordinates instead (use fireStationEffectMap.worldGet() instead).
661 */
662int Micropolis::getFireCoverage(int x, int y)
663{
664 return fireStationEffectMap.get(x, y);
665}
666
667
668/**

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected