Beispiel #1
0
        public static void ScaleUpdate(double scale)
        {
            HugeBawls.Pause();

            s_UpdateRegulator.Disable();

            s_UpdateRegulator.Dispose();

            s_UpdateRegulator = new Regulator((int)(Settings.PeriodUpdate * scale));

            HugeBawls.Run();
        }
Beispiel #2
0
        public static void ScaleRenderer(double scale)
        {
            HugeBawls.Pause();

            s_RenderRegulator.Disable();

            s_RenderRegulator.Dispose();

            s_RenderRegulator = new Regulator((int)(Settings.PeriodRender * scale));

            HugeBawls.Run();
        }