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

Method resume

MicropolisCore/src/MicropolisEngine/src/utilities.cpp:156–165  ·  view source on GitHub ↗

* Resume simulation after pausing it * @see pause */

Source from the content-addressed store, hash-verified

154 * @see pause
155 */
156void Micropolis::resume()
157{
158 if (simPaused) {
159 simPaused = false;
160 setSpeed(simPausedSpeed);
161 }
162
163 // Call back even if the state did not change.
164 callback("update", "s", "paused");
165}
166
167
168void Micropolis::setSpeed(short speed)

Callers 6

__init__Method · 0.95
setGameModeMethod · 0.80
updateMethod · 0.80
playCityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected