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

Method Micropolis

MicropolisCore/src/MicropolisEngine/src/micropolis.cpp:78–97  ·  view source on GitHub ↗

* Simulator constructor. */

Source from the content-addressed store, hash-verified

76 * Simulator constructor.
77 */
78Micropolis::Micropolis() :
79 populationDensityMap(0),
80 trafficDensityMap(0),
81 pollutionDensityMap(0),
82 landValueMap(0),
83 crimeRateMap(0),
84 terrainDensityMap(0),
85 tempMap1(0),
86 tempMap2(0),
87 tempMap3(0),
88 powerGridMap(0),
89 rateOfGrowthMap(0),
90 fireStationMap(0),
91 fireStationEffectMap(0),
92 policeStationMap(0),
93 policeStationEffectMap(0),
94 comRateMap(0)
95{
96 init();
97}
98
99
100/** Simulator destructor. */

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected