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

Method getPopulation

MicropolisCore/src/MicropolisEngine/src/evaluate.cpp:187–191  ·  view source on GitHub ↗

Compute city population. */

Source from the content-addressed store, hash-verified

185
186/** Compute city population. */
187Quad Micropolis::getPopulation()
188{
189 Quad pop = (resPop + (comPop + indPop) * 8L) * 20L;
190 return pop;
191}
192
193
194/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected