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

Method simUpdate

MicropolisCore/src/MicropolisEngine/src/main.cpp:175–188  ·  view source on GitHub ↗

* Update ???? * @todo What is the purpose of this function? (also in relation with * Micropolis::simTick()). */

Source from the content-addressed store, hash-verified

173 * Micropolis::simTick()).
174 */
175void Micropolis::simUpdate()
176{
177 //printf("simUpdate\n");
178 blinkFlag = ((tickCount() % 60) < 30) ? 1 : -1;
179
180 if (simSpeed && !heatSteps) {
181 tilesAnimated = false;
182 }
183
184 doUpdateHeads();
185 graphDoer();
186 updateBudget();
187 scoreDoer();
188}
189
190
191/**

Callers 1

tickEngineMethod · 0.80

Calls 1

graphDoerFunction · 0.85

Tested by

no test coverage detected