private void SetSpeedIf(SimulatorSpeed speed, bool active) { if (active) { if (KeyboardHelper.IsControlPressed()) { speed = SimulatorSpeed.SuperFastForward; } SimulationGlobals.SetSimulatorSpeed(speed); selectedSpeed = speed; } }
public static void SetSimulatorSpeed(SimulatorSpeed newSpeed) { }