}
// grand_mutex.unlock();
for(gameobject* o : objects)
- o->move(); // move needs a parameter which indicates how long since we last called move
+ o->move(); // move needs a parameter which indicates how long since we last called move (loop_time)
auto end_time = std::chrono::system_clock::now();
int cpu_time = std::chrono::duration_cast<std::chrono::microseconds>(end_time - start_time).count();
last_call = start_time;