Micropolis
|
Handles the main simulation logic for Micropolis. More...
Go to the source code of this file.
Variables | |
static const int | CENSUS_FREQUENCY_10 = 4 |
static const int | CENSUS_FREQUENCY_120 = CENSUS_FREQUENCY_10 * 12 |
static const int | TAX_FREQUENCY = 48 |
Handles the main simulation logic for Micropolis.
This file contains the primary functions responsible for advancing the simulation state in the Micropolis game. It includes methods for handling various aspects of the game world, such as power generation, population growth, resource management, and disaster events. The simulation is divided into multiple phases, with each phase focusing on specific components of the game world.
Definition in file simulate.cpp.
|
static |
How often to perform the short term census.
Definition at line 90 of file simulate.cpp.
|
static |
How often to perform the long term census.
Definition at line 96 of file simulate.cpp.
|
static |
How often to collect taxes.
Definition at line 101 of file simulate.cpp.