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

Method doIndIn

MicropolisCore/src/MicropolisEngine/src/zone.cpp:953–959  ·  view source on GitHub ↗

* Handle immigration of industrial zone. * @param pos Position of the center tile of the industrial tile. * @param pos Population value of the industrial zone. * @param value Random land value (it seems). */

Source from the content-addressed store, hash-verified

951 * @param value Random land value (it seems).
952 */
953void Micropolis::doIndIn(const Position &pos, int pop, int value)
954{
955 if (pop < 4) {
956 indPlop(pos, pop, value);
957 incRateOfGrowth(pos, 8);
958 }
959}
960
961/**
962 * Handle industrial zone emigration.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected