// ------------------------------------------------------------------------------------------------------------------- private void UpdateSimulation() { logger.PushContext("UpdateSimulation"); // Update simulation foreach (LockstepSimulation ls in m_objectsToSimulate) { ls.UpdateSimulation(m_simulationDeltaTime); } m_simulationCount++; if ((m_simulationCount % 100) == 0) { logger.Debug("Current simulation count = " + m_simulationCount); } logger.PopContext(); }